summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/scrub.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 10:45:24 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-12-15 17:28:52 -0800
commitf025f5d8641e9b58fd21797b691d669a82c5bd33 (patch)
tree0790a014435b67294ea91931f56ddd026f1501f0 /fs/xfs/scrub/scrub.c
parent0e22a0b8f4522f39e10ff47b67f062920858425b (diff)
xfs: repair refcount btreesrepair-ag-btrees_2021-12-15
Reconstruct the refcount data from the rmap btree. 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 74ed9570a74a..e5657047581d 100644
--- a/fs/xfs/scrub/scrub.c
+++ b/fs/xfs/scrub/scrub.c
@@ -257,7 +257,7 @@ static const struct xchk_meta_ops meta_scrub_ops[] = {
.setup = xchk_setup_ag_refcountbt,
.scrub = xchk_refcountbt,
.has = xfs_has_reflink,
- .repair = xrep_notsupported,
+ .repair = xrep_refcountbt,
},
[XFS_SCRUB_TYPE_INODE] = { /* inode record */
.type = ST_INODE,