summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/scrub.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-05 17:45:15 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-03-25 17:08:29 -0700
commit4b9824ccb9fa562b086cf932a9cc057adfad6429 (patch)
tree1a92f9b3597287d1516515de3c6605dee455826b /fs/xfs/scrub/scrub.c
parentf75a489f1c2486abaaf13f8fea67e9ebbf9a1406 (diff)
xfs: online repair of realtime summariesrepair-rtsummary_2021-03-25
Repair the realtime summary data by constructing a new rtsummary file in the scrub temporary file, then atomically swapping the contents. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/scrub.c')
-rw-r--r--fs/xfs/scrub/scrub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c
index 22da6fd48420..d89c76d64ef7 100644
--- a/fs/xfs/scrub/scrub.c
+++ b/fs/xfs/scrub/scrub.c
@@ -343,7 +343,7 @@ static const struct xchk_meta_ops meta_scrub_ops[] = {
.setup = xchk_setup_rtsummary,
.scrub = xchk_rtsummary,
.has = xfs_sb_version_hasrealtime,
- .repair = xrep_notsupported,
+ .repair = xrep_rtsummary,
},
[XFS_SCRUB_TYPE_UQUOTA] = { /* user quota */
.type = ST_FS,