From 5e6274e9d6cadabbecf63e7fd3003a52c03860f7 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 1 Sep 2021 10:45:24 -0700 Subject: xfs: repair refcount btrees Reconstruct the refcount data from the rmap btree. Signed-off-by: Darrick J. Wong --- fs/xfs/scrub/repair.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/xfs/scrub/repair.h') diff --git a/fs/xfs/scrub/repair.h b/fs/xfs/scrub/repair.h index 35d69bbd306a..f67b49341eb2 100644 --- a/fs/xfs/scrub/repair.h +++ b/fs/xfs/scrub/repair.h @@ -76,6 +76,7 @@ int xrep_agfl(struct xfs_scrub *sc); int xrep_agi(struct xfs_scrub *sc); int xrep_allocbt(struct xfs_scrub *sc); int xrep_iallocbt(struct xfs_scrub *sc); +int xrep_refcountbt(struct xfs_scrub *sc); struct xrep_newbt_resv { /* Link to list of extents that we've reserved. */ @@ -173,6 +174,7 @@ xrep_reset_perag_resv( #define xrep_agi xrep_notsupported #define xrep_allocbt xrep_notsupported #define xrep_iallocbt xrep_notsupported +#define xrep_refcountbt xrep_notsupported #endif /* CONFIG_XFS_ONLINE_REPAIR */ -- cgit v1.2.3