]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: check v5 filesystem attr block header sanity
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 2 Sep 2015 22:42:50 +0000 (08:42 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 2 Sep 2015 22:42:50 +0000 (08:42 +1000)
commit1c8e2f033c6862a2aa429e1ed4475540089a9386
tree699030ca3ccc502b1a7c757eefa953d9a1cf2ec4
parentaedb9c1747ec21456fa1f5df413ed84a9bba7b99
xfs_repair: check v5 filesystem attr block header sanity

Check the v5 fields (uuid, blocknr, owner) of attribute blocks for
obvious errors while scanning xattr blocks.  If the ownership info
is incorrect, kill the block.

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/attr_repair.c