summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/scrub.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-03-17 16:31:31 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-03-25 17:08:55 -0700
commit8b1498533cb77f0625f460963cc090d2a7207173 (patch)
tree07e1db2712da2d6f881a31b235eac6cc815bc71d /fs/xfs/scrub/scrub.c
parent8e45025becb250087a4bb20e82f549a9297ec15f (diff)
xfs: teach repair to fix file nlinksscrub-nlinks_2021-03-25
Fix the nlinks now too. 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 1d51a6002ede..c17b0ef24a0e 100644
--- a/fs/xfs/scrub/scrub.c
+++ b/fs/xfs/scrub/scrub.c
@@ -409,7 +409,7 @@ static const struct xchk_meta_ops meta_scrub_ops[] = {
.type = ST_FS,
.setup = xchk_setup_nlinks,
.scrub = xchk_nlinks,
- .repair = xrep_notsupported,
+ .repair = xrep_nlinks,
},
};