diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 11:25:37 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-22 16:41:14 -0700 |
commit | efb0f93ddd0bb3f1f6321d21c374429fedfb3508 (patch) | |
tree | 1f3246d38a55cccc068247c314920ba8d791db75 /fs/xfs/scrub/scrub.c | |
parent | aa7bbb4df5d4f26f134b67f7a4218a2c7a116d50 (diff) |
xfs: teach repair to fix file nlinksscrub-nlinks_2021-10-22
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index 55f2c37d01fd..181d66773b45 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -397,7 +397,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, }, }; |