summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/repair.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-10-25 17:15:51 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-26 18:32:25 -0700
commit12c5cebefc5d29d75593f9810433c4fd2f42607d (patch)
treed4af0e690c9e05b8b60204876d6cbc2170098da1 /fs/xfs/scrub/repair.h
parent63e82146ad0e062258892ed36afe1e4afb0c01c3 (diff)
xfs: online repair of parent pointersrepair-dirs_2020-10-26
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 b56095472592..f06309f84592 100644
--- a/fs/xfs/scrub/repair.h
+++ b/fs/xfs/scrub/repair.h
@@ -99,6 +99,7 @@ int xrep_symlink(struct xfs_scrub *sc);
int xrep_fscounters(struct xfs_scrub *sc);
int xrep_xattr(struct xfs_scrub *sc);
int xrep_dir(struct xfs_scrub *sc);
+int xrep_parent(struct xfs_scrub *sc);
#ifdef CONFIG_XFS_QUOTA
int xrep_quota(struct xfs_scrub *sc);
@@ -235,6 +236,7 @@ xrep_rmapbt_setup(
#define xrep_rtsummary xrep_notsupported
#define xrep_xattr xrep_notsupported
#define xrep_dir xrep_notsupported
+#define xrep_parent xrep_notsupported
#endif /* CONFIG_XFS_ONLINE_REPAIR */