xfs: scrub extended attribute leaf space
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 31 Oct 2017 19:10:02 +0000 (12:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 1 Nov 2017 22:03:16 +0000 (15:03 -0700)
commit13791d3b833428e7dc7253e066eef8cae75cd1c0
tree3600246c9c4168c342ec2c7917e99370594f4611
parente9e899a2a8c3c23b3084b048466f417ed92286d3
xfs: scrub extended attribute leaf space

As we walk the attribute btree, explicitly check the structure of the
attribute leaves to make sure the pointers make sense and the freemap is
sensible.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/attr.c
fs/xfs/scrub/dabtree.c
fs/xfs/scrub/dabtree.h
fs/xfs/scrub/dir.c