xfs: scrub the AGI
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 18 Oct 2017 04:37:39 +0000 (21:37 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:24 +0000 (15:38 -0700)
commita12890aebb895951720ff884eab1c99a30645b29
tree68399a7145cba73c7ae5b4e271beb455057b2757
parentab9d5dc59fe6157b8035c4b605166b868f678ee4
xfs: scrub the AGI

Add a forgotten check to the AGI verifier, then wire up the scrub
infrastructure to check the AGI contents.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_fs.h
fs/xfs/scrub/agheader.c
fs/xfs/scrub/common.c
fs/xfs/scrub/scrub.c
fs/xfs/scrub/scrub.h