Port the data device's refcount btree repair code to the realtime
refcount btree.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
return NULL;
}
-static inline xfs_failaddr_t
+inline xfs_failaddr_t
xfs_refcount_check_rtgroup_irec(
struct xfs_rtgroup *rtg,
const struct xfs_refcount_irec *irec)
struct xfs_refcount_irec *irec);
xfs_failaddr_t xfs_refcount_check_perag_irec(struct xfs_perag *pag,
const struct xfs_refcount_irec *irec);
+xfs_failaddr_t xfs_refcount_check_rtgroup_irec(struct xfs_rtgroup *rtg,
+ const struct xfs_refcount_irec *irec);
xfs_failaddr_t xfs_refcount_check_irec(struct xfs_btree_cur *cur,
const struct xfs_refcount_irec *irec);
extern int xfs_refcount_insert(struct xfs_btree_cur *cur,