summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/scrub.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 10:45:55 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:40:37 -0700
commit380212e0ce5191961005728cdd67a07358f3ec14 (patch)
tree9bc3be34217d21b5e275207fb3219b1dd6affc0e /fs/xfs/scrub/scrub.c
parentebbf385a912f3d1e5c13d7e33101e8aefb300f15 (diff)
xfs: repair damaged symlinksrepair-inodes_2021-10-22
Repair inconsistent symbolic link data. 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 abd74fff3bf5..550b28b0ff47 100644
--- a/fs/xfs/scrub/scrub.c
+++ b/fs/xfs/scrub/scrub.c
@@ -299,7 +299,7 @@ static const struct xchk_meta_ops meta_scrub_ops[] = {
.type = ST_INODE,
.setup = xchk_setup_symlink,
.scrub = xchk_symlink,
- .repair = xrep_notsupported,
+ .repair = xrep_symlink,
},
[XFS_SCRUB_TYPE_PARENT] = { /* parent pointers */
.type = ST_INODE,