diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-18 06:37:40 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-27 00:38:25 +0200 |
commit | efa7a99ce1f8615aca7b0ff3122a1ae14e4d1cdc (patch) | |
tree | d133547af1f14377606a6eee2ddcf23b9217e660 /fs/xfs/scrub/common.h | |
parent | xfs: scrub the AGI (diff) | |
download | linux-efa7a99ce1f8615aca7b0ff3122a1ae14e4d1cdc.tar.xz linux-efa7a99ce1f8615aca7b0ff3122a1ae14e4d1cdc.zip |
xfs: scrub free space btrees
Check the extent records free space btrees to ensure that the values
look sane.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/common.h')
-rw-r--r-- | fs/xfs/scrub/common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/scrub/common.h b/fs/xfs/scrub/common.h index 251a195973a0..372a84437ad1 100644 --- a/fs/xfs/scrub/common.h +++ b/fs/xfs/scrub/common.h @@ -78,6 +78,9 @@ void xfs_scrub_set_incomplete(struct xfs_scrub_context *sc); int xfs_scrub_setup_fs(struct xfs_scrub_context *sc, struct xfs_inode *ip); int xfs_scrub_setup_ag_header(struct xfs_scrub_context *sc, struct xfs_inode *ip); +int xfs_scrub_setup_ag_allocbt(struct xfs_scrub_context *sc, + struct xfs_inode *ip); + void xfs_scrub_ag_free(struct xfs_scrub_context *sc, struct xfs_scrub_ag *sa); int xfs_scrub_ag_init(struct xfs_scrub_context *sc, xfs_agnumber_t agno, @@ -93,4 +96,7 @@ int xfs_scrub_walk_agfl(struct xfs_scrub_context *sc, void *), void *priv); +int xfs_scrub_setup_ag_btree(struct xfs_scrub_context *sc, + struct xfs_inode *ip, bool force_log); + #endif /* __XFS_SCRUB_COMMON_H__ */ |