diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 11:18:10 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-12-15 17:29:20 -0800 |
commit | f1f541d3e008e6dacb64754cb47dd2d025af9448 (patch) | |
tree | 4236da12e3af94b794f7cce0166680d05bcd7894 /fs/xfs/scrub | |
parent | a85cc00303fe5d7986aae4e1a9023da9684d8e4c (diff) |
xfs: prepare refcount functions to deal with rtrefcountbt
Prepare the high-level refcount functions to deal with the new realtime
refcountbt and its slightly different conventions. Provide the ability
to talk to either refcountbt or rtrefcountbt formats from the same high
level code.
Note that we leave the _recover_cow_leftovers functions for a separate
patch so that we can convert it all at once.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub')
-rw-r--r-- | fs/xfs/scrub/rmap_repair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/rmap_repair.c b/fs/xfs/scrub/rmap_repair.c index 2290ff9e3e75..8197efe2161b 100644 --- a/fs/xfs/scrub/rmap_repair.c +++ b/fs/xfs/scrub/rmap_repair.c @@ -767,7 +767,7 @@ xrep_rmap_walk_cowblocks( struct xfs_refcount_irec refc; xfs_fsblock_t fsbno; - xfs_refcount_btrec_to_irec(rec, &refc); + xfs_refcount_btrec_to_irec(cur, rec, &refc); if (refc.rc_refcount != 1) return -EFSCORRUPTED; |