diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-08-19 04:46:54 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-19 20:07:13 +0300 |
commit | 55fafb31f9e988a4ba2a38fcfe6f507880394d1f (patch) | |
tree | 9f63fef0f1ff5b1552946718436feeeed2b62c42 /fs/xfs/scrub/scrub.h | |
parent | fe08cc5044486096bfb5ce9d3db4e915e53281ea (diff) | |
download | linux-55fafb31f9e988a4ba2a38fcfe6f507880394d1f.tar.xz |
xfs: convert scrub to use mount-based feature checks
The scrub feature checks are the last place that the superblock
feature checks are used. Convert them to mount based feature checks.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/scrub.h')
-rw-r--r-- | fs/xfs/scrub/scrub.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/scrub.h b/fs/xfs/scrub/scrub.h index c711637d0d06..80e5026bba44 100644 --- a/fs/xfs/scrub/scrub.h +++ b/fs/xfs/scrub/scrub.h @@ -27,7 +27,7 @@ struct xchk_meta_ops { int (*repair)(struct xfs_scrub *); /* Decide if we even have this piece of metadata. */ - bool (*has)(struct xfs_sb *); + bool (*has)(struct xfs_mount *); /* type describing required/allowed inputs */ enum xchk_type type; |