]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: better checking of v5 metadata fields
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 1 Jun 2015 01:17:09 +0000 (11:17 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 1 Jun 2015 01:17:09 +0000 (11:17 +1000)
commit0519f662c86a7a3396fc2eba079f180ac46cbf5e
tree65b0b5bcf601614d81f1beac8ea4d555e3094e9b
parenta98b22b6a4135041e2a82b966cd7d8e606c2b958
xfs_repair: better checking of v5 metadata fields

Check the UUID, owner, and block number fields during repair, looking for
blocks that fail either the checksum or the data structure verifiers.  For
directories we can simply rebuild corrupt/broken index data, though for
anything else we have to toss out the broken object.

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