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-01 21:16:31 -0700 |
commit | 671defad8cf297a241367f75e8e83b60085dc31e (patch) | |
tree | ff3aa3c436acaefedadce14de114b87076bcf7b4 /fs/xfs/scrub/repair.h | |
parent | b051d48d48b1276346cedcb5c142e661dc6be70c (diff) |
xfs: online repair of directoriesrepair-inode-data_2020-06-01
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 fe1293334899..5963502174cd 100644 --- a/fs/xfs/scrub/repair.h +++ b/fs/xfs/scrub/repair.h @@ -77,6 +77,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 { @@ -181,6 +182,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 */ |