summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub/scrub.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-01-17 03:53:07 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2018-01-18 06:00:45 +0100
commit2e6f27561b798710fd7c89118d8b489231408a80 (patch)
tree9ad1313619268d9a02cba71e6e93c85d88e46a8a /fs/xfs/scrub/scrub.h
parentxfs: cross-reference bnobt records with cntbt (diff)
downloadlinux-2e6f27561b798710fd7c89118d8b489231408a80.tar.xz
linux-2e6f27561b798710fd7c89118d8b489231408a80.zip
xfs: cross-reference inode btrees during scrub
Cross-reference the inode btrees with the other metadata when we scrub the filesystem. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/xfs/scrub/scrub.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/scrub/scrub.h b/fs/xfs/scrub/scrub.h
index cbc636326171..9b0033baa90b 100644
--- a/fs/xfs/scrub/scrub.h
+++ b/fs/xfs/scrub/scrub.h
@@ -126,5 +126,9 @@ xfs_scrub_quota(struct xfs_scrub_context *sc)
/* cross-referencing helpers */
void xfs_scrub_xref_is_used_space(struct xfs_scrub_context *sc,
xfs_agblock_t agbno, xfs_extlen_t len);
+void xfs_scrub_xref_is_not_inode_chunk(struct xfs_scrub_context *sc,
+ xfs_agblock_t agbno, xfs_extlen_t len);
+void xfs_scrub_xref_is_inode_chunk(struct xfs_scrub_context *sc,
+ xfs_agblock_t agbno, xfs_extlen_t len);
#endif /* __XFS_SCRUB_SCRUB_H__ */