summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-02-25 15:13:48 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2020-06-24 18:12:20 -0700
commitb4a8e309923630d5b42c0bee70e6dfd066ba862b (patch)
treeb6f1308db2d0cea8725db257bd221248ec14b3ed /fs/xfs/scrub/repair.h
parent86f6595db67d8061b069caa54739914ac9564899 (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/repair.h')
-rw-r--r--fs/xfs/scrub/repair.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/scrub/repair.h b/fs/xfs/scrub/repair.h
index 5562b9827edd..58caaa07843b 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 {
@@ -182,6 +183,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 */