diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-18 06:37:46 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-27 00:38:26 +0200 |
commit | 29b0767b8beb4c5e3fd94656d51413a4fe8d2d74 (patch) | |
tree | 0a1ceb60fe3073bae58d052f3a998b4095f668d0 /fs/xfs/scrub/common.h | |
parent | xfs: scrub directory parent pointers (diff) | |
download | linux-29b0767b8beb4c5e3fd94656d51413a4fe8d2d74.tar.xz linux-29b0767b8beb4c5e3fd94656d51413a4fe8d2d74.zip |
xfs: scrub realtime bitmap/summary
Perform simple tests of the realtime bitmap and summary.
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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/xfs/scrub/common.h b/fs/xfs/scrub/common.h index 0542e7d4356a..5b561e2e411a 100644 --- a/fs/xfs/scrub/common.h +++ b/fs/xfs/scrub/common.h @@ -101,6 +101,15 @@ int xfs_scrub_setup_symlink(struct xfs_scrub_context *sc, struct xfs_inode *ip); int xfs_scrub_setup_parent(struct xfs_scrub_context *sc, struct xfs_inode *ip); +#ifdef CONFIG_XFS_RT +int xfs_scrub_setup_rt(struct xfs_scrub_context *sc, struct xfs_inode *ip); +#else +static inline int +xfs_scrub_setup_rt(struct xfs_scrub_context *sc, struct xfs_inode *ip) +{ + return -ENOENT; +} +#endif 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, |