summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/scrub.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-10-17 21:37:38 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-10-26 15:38:24 -0700
commit21fb4cb1981ef7e02f35a42b2a5ae619517dfe1b (patch)
tree5c1adb6c97d3161cd876f2b7dcc76364792e2f20 /fs/xfs/scrub/scrub.h
parentb6c1beb967b0a4a1b8297ee6f4bc067a0ba32b0b (diff)
downloadlwn-21fb4cb1981ef7e02f35a42b2a5ae619517dfe1b.tar.gz
lwn-21fb4cb1981ef7e02f35a42b2a5ae619517dfe1b.zip
xfs: scrub the secondary superblocks
Ensure that the geometry presented in the backup superblocks matches the primary superblock so that repair can recover the filesystem if that primary gets corrupted. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.h b/fs/xfs/scrub/scrub.h
index 1385295438e8..13e3f9b2ce0e 100644
--- a/fs/xfs/scrub/scrub.h
+++ b/fs/xfs/scrub/scrub.h
@@ -67,5 +67,6 @@ struct xfs_scrub_context {
/* Metadata scrubbers */
int xfs_scrub_tester(struct xfs_scrub_context *sc);
+int xfs_scrub_superblock(struct xfs_scrub_context *sc);
#endif /* __XFS_SCRUB_SCRUB_H__ */