summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub/scrub.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-10-18 06:37:39 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2017-10-27 00:38:24 +0200
commitab9d5dc59fe6157b8035c4b605166b868f678ee4 (patch)
tree4890f77ec080d9eeba75a27a82cad4acb1790b9b /fs/xfs/scrub/scrub.h
parentxfs: scrub the secondary superblocks (diff)
downloadlinux-ab9d5dc59fe6157b8035c4b605166b868f678ee4.tar.xz
linux-ab9d5dc59fe6157b8035c4b605166b868f678ee4.zip
xfs: scrub AGF and AGFL
Check the block references in the AGF and AGFL headers to make sure they make sense. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/scrub.h')
-rw-r--r--fs/xfs/scrub/scrub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.h b/fs/xfs/scrub/scrub.h
index 13e3f9b2ce0e..50f864130d77 100644
--- a/fs/xfs/scrub/scrub.h
+++ b/fs/xfs/scrub/scrub.h
@@ -68,5 +68,7 @@ struct xfs_scrub_context {
/* Metadata scrubbers */
int xfs_scrub_tester(struct xfs_scrub_context *sc);
int xfs_scrub_superblock(struct xfs_scrub_context *sc);
+int xfs_scrub_agf(struct xfs_scrub_context *sc);
+int xfs_scrub_agfl(struct xfs_scrub_context *sc);
#endif /* __XFS_SCRUB_SCRUB_H__ */