[Cluster-devel] [gfs2-utils PATCH 5/7] fsck.gfs2: don't check newly created lost+found in pass2
Andrew Price
anprice at redhat.com
Tue Jul 16 16:52:20 UTC 2013
Hi Bob,
> --- a/gfs2/fsck/pass2.c
> +++ b/gfs2/fsck/pass2.c
> @@ -1683,6 +1683,14 @@ int pass2(struct gfs2_sbd *sdp)
> if (q != gfs2_inode_dir)
> continue;
>
> + /* If we created lost+found, its links should have been
> + properly adjusted, so don't check it. */
> + if (lf_was_created &&
> + (dirblk == lf_dip->i_di.di_num.no_addr)) {
> + log_debug("Pass2 skipping the new new lost+found.\n");
Spotted "new new" here but maybe it needs _() also.
Cheers,
Andy
More information about the Cluster-devel
mailing list