]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: don't abort on bad directory leaf crc during leaf check
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 7 Apr 2015 00:04:11 +0000 (10:04 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 7 Apr 2015 00:04:11 +0000 (10:04 +1000)
commitba1c677644747b41cdc91691e282efe1090449da
treee9b7c5b0eca84a97b55a629cb62e35f545b36598
parent7d7c5553e3fdf8d65537037603372869ca19d5eb
xfs_repair: don't abort on bad directory leaf crc during leaf check

longform_dir2_check_leaf() checks a directory leaf block to help
decide if we need to rebuild the directory.  If the verifier fails
with a CRC or corrupt structure error, rebuild the directory instead
of aborting.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/phase6.c