summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/scrub.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-10-25 17:14:36 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-26 18:32:14 -0700
commit47ae6ad77ef1a25b1b425203f933e4dd44597262 (patch)
tree46aedf0025447df5cee7d106f6e2cb5ebfe265c8 /fs/xfs/scrub/scrub.c
parent602cf8f5ec23b2f3ef85d19036d92c06177410a5 (diff)
xfs: repair refcount btreesrepair-ag-btrees_2020-10-26
Reconstruct the refcount data from the rmap btree. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
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 cf8dca473e78..63698ff587c3 100644
--- a/fs/xfs/scrub/scrub.c
+++ b/fs/xfs/scrub/scrub.c
@@ -263,7 +263,7 @@ static const struct xchk_meta_ops meta_scrub_ops[] = {
.setup = xchk_setup_ag_refcountbt,
.scrub = xchk_refcountbt,
.has = xfs_sb_version_hasreflink,
- .repair = xrep_notsupported,
+ .repair = xrep_refcountbt,
},
[XFS_SCRUB_TYPE_INODE] = { /* inode record */
.type = ST_INODE,