summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/common.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-05-14 16:34:33 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2018-05-16 04:12:50 +0300
commit87d9d609c22dbfe3a97deeaa9665eb7c823fcfc1 (patch)
treebb345492d7c17bb0c12d702384f0a4bc2478b16c /fs/xfs/scrub/common.h
parent8bc763c24de745608679b128e2e5e25c5070f7d3 (diff)
downloadlinux-87d9d609c22dbfe3a97deeaa9665eb7c823fcfc1.tar.xz
xfs: quota scrub should use bmapbtd scrubber
Replace the quota scrubber's open-coded data fork scrubber with a redirected call to the bmapbtd scrubber. This strengthens the quota scrub to include all the cross-referencing that it does. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/common.h')
-rw-r--r--fs/xfs/scrub/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/scrub/common.h b/fs/xfs/scrub/common.h
index a23ad7fa2b6c..5d78bb9602ab 100644
--- a/fs/xfs/scrub/common.h
+++ b/fs/xfs/scrub/common.h
@@ -155,4 +155,6 @@ static inline bool xfs_scrub_skip_xref(struct xfs_scrub_metadata *sm)
XFS_SCRUB_OFLAG_XCORRUPT);
}
+int xfs_scrub_metadata_inode_forks(struct xfs_scrub_context *sc);
+
#endif /* __XFS_SCRUB_COMMON_H__ */