summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-03-19 15:09:51 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-06-01 21:16:38 -0700
commit881b95040516e184f692308384a7dbdc7056d462 (patch)
tree811387aa06ade9d52038f732ec752ce214378687 /fs/xfs/scrub/repair.h
parent2490c4ceed3fcfd17afc53c2ddc1edc04034a26c (diff)
xfs: online repair of parent pointersrepair-hard-problems_2020-06-01
Teach the online repair code to fix directory '..' entries (aka parent pointers). 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 481a80d6667b..b135c655ccbd 100644
--- a/fs/xfs/scrub/repair.h
+++ b/fs/xfs/scrub/repair.h
@@ -90,6 +90,7 @@ 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_parent(struct xfs_scrub *sc);
int xrep_xattr(struct xfs_scrub *sc);
int xrep_fscounters(struct xfs_scrub *sc);
#ifdef CONFIG_XFS_QUOTA
@@ -217,6 +218,7 @@ xrep_rmapbt_setup(
#define xrep_bmap_attr xrep_notsupported
#define xrep_symlink xrep_notsupported
#define xrep_dir xrep_notsupported
+#define xrep_parent xrep_notsupported
#define xrep_xattr xrep_notsupported
#define xrep_fscounters xrep_notsupported
#define xrep_quota xrep_notsupported