diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-02-25 15:13:48 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-06-24 18:12:20 -0700 |
commit | b4a8e309923630d5b42c0bee70e6dfd066ba862b (patch) | |
tree | b6f1308db2d0cea8725db257bd221248ec14b3ed /fs/xfs/scrub/scrub.c | |
parent | 86f6595db67d8061b069caa54739914ac9564899 (diff) |
xfs: online repair of directoriesrepair-inode-data_2020-06-24
If a directory looks like it's in bad shape, try to sift through the
rubble to find whatever directory entries we can, zap the old tree, and
re-add the entries.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/scrub.c b/fs/xfs/scrub/scrub.c index 4c2b1676e5da..d82589798550 100644 --- a/fs/xfs/scrub/scrub.c +++ b/fs/xfs/scrub/scrub.c @@ -293,7 +293,7 @@ static const struct xchk_meta_ops meta_scrub_ops[] = { .type = ST_INODE, .setup = xchk_setup_directory, .scrub = xchk_directory, - .repair = xrep_notsupported, + .repair = xrep_dir, }, [XFS_SCRUB_TYPE_XATTR] = { /* extended attributes */ .type = ST_INODE, |