aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub/repair.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-08-09 22:42:53 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-08-10 11:44:31 -0700
commitf9ed6debca45dd9bcc02d77c98822d50aba342f4 (patch)
treea7174c2c3055e1bb3bd5383e36521a5ecb006b61 /fs/xfs/scrub/repair.h
parentxfs: remove dead error handling code in xfs_dquot_disk_alloc() (diff)
downloadlinux-dev-f9ed6debca45dd9bcc02d77c98822d50aba342f4.tar.xz
linux-dev-f9ed6debca45dd9bcc02d77c98822d50aba342f4.zip
xfs: repair the AGF
Regenerate the AGF from the rmap data. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.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 5a4e92221916..6f0903c51a47 100644
--- a/fs/xfs/scrub/repair.h
+++ b/fs/xfs/scrub/repair.h
@@ -58,6 +58,7 @@ int xrep_ino_dqattach(struct xfs_scrub *sc);
int xrep_probe(struct xfs_scrub *sc);
int xrep_superblock(struct xfs_scrub *sc);
+int xrep_agf(struct xfs_scrub *sc);
#else
@@ -81,6 +82,7 @@ xrep_calc_ag_resblks(
#define xrep_probe xrep_notsupported
#define xrep_superblock xrep_notsupported
+#define xrep_agf xrep_notsupported
#endif /* CONFIG_XFS_ONLINE_REPAIR */