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-03-03 18:47:38 -0800 |
commit | faa8f3b259634ed6f67d4464d1da7e2fb7df1d99 (patch) | |
tree | 559b10d4390e35ceabad4b67217421fcf2bf8d99 /fs/xfs/scrub/repair.h | |
parent | 90b7d9278f82ebaa5a0e357dbdc3bcc15cd127cc (diff) |
xfs: online repair of directoriesrepair-inode-data_2020-03-03
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/repair.h')
-rw-r--r-- | fs/xfs/scrub/repair.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/scrub/repair.h b/fs/xfs/scrub/repair.h index 3da529e6cc4b..39a9b30fdbaa 100644 --- a/fs/xfs/scrub/repair.h +++ b/fs/xfs/scrub/repair.h @@ -75,6 +75,7 @@ int xrep_inode(struct xfs_scrub *sc); int xrep_bmap_data(struct xfs_scrub *sc); int xrep_bmap_attr(struct xfs_scrub *sc); int xrep_symlink(struct xfs_scrub *sc); +int xrep_dir(struct xfs_scrub *sc); int xrep_xattr(struct xfs_scrub *sc); struct xrep_newbt_resv { @@ -179,6 +180,7 @@ xrep_reset_perag_resv( #define xrep_bmap_data xrep_notsupported #define xrep_bmap_attr xrep_notsupported #define xrep_symlink xrep_notsupported +#define xrep_dir xrep_notsupported #define xrep_xattr xrep_notsupported #endif /* CONFIG_XFS_ONLINE_REPAIR */ |