]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7e23fb4d5d88270b250f0f34480d4d62daf61e0
tree3600246c9c4168c342ec2c7917e99370594f4611
parent7e222d9b59926f1776652c0ad15df12e2b19304c
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