diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-12-15 10:03:42 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-12-15 10:03:42 -0800 |
commit | 20cc0d398e89d1f735c8e2815defc8ba9fdcce3f (patch) | |
tree | c15813490078bc4e6dc452f7738ffe107c948782 /fs/xfs/scrub | |
parent | 04f0c3269b41f28c041980a30514850453ded251 (diff) | |
download | linux-stable-20cc0d398e89d1f735c8e2815defc8ba9fdcce3f.tar.gz linux-stable-20cc0d398e89d1f735c8e2815defc8ba9fdcce3f.tar.bz2 linux-stable-20cc0d398e89d1f735c8e2815defc8ba9fdcce3f.zip |
xfs: always check the rtbitmap and rtsummary files
XFS filesystems always have a realtime bitmap and summary file, even if
there has never been a realtime volume attached. Always check them.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub')
-rw-r--r-- | fs/xfs/scrub/scrub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index e46b3afb5467..a7019c9bba0c 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -328,14 +328,12 @@ static const struct xchk_meta_ops meta_scrub_ops[] = { .type = ST_FS, .setup = xchk_setup_rtbitmap, .scrub = xchk_rtbitmap, - .has = xfs_has_realtime, .repair = xrep_notsupported, }, [XFS_SCRUB_TYPE_RTSUM] = { /* realtime summary */ .type = ST_FS, .setup = xchk_setup_rtsummary, .scrub = xchk_rtsummary, - .has = xfs_has_realtime, .repair = xrep_notsupported, }, [XFS_SCRUB_TYPE_UQUOTA] = { /* user quota */ |