summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 11:18:07 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-12-15 17:29:20 -0800
commit2cb97078fce1baf3392167d44dcb5726ae32b920 (patch)
treecdc392843b998ba1c2320dd68f5b4729c569ccc1 /fs/xfs/scrub
parente2cd243f5e3d4618ca202468ab2abbe07c6ff2f4 (diff)
xfs: widen xfs_refcount_irec fields to handle realtime refcountbt
Change the startblock and blockcount fields of xfs_refcount_irec to be 64 bits wide. This enables us to use the same high level refcount code for either tree. We'll also collect all the resulting breakage fixes here. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub')
-rw-r--r--fs/xfs/scrub/rmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/scrub/rmap.c b/fs/xfs/scrub/rmap.c
index 955dda9b92a5..b1fee12132e8 100644
--- a/fs/xfs/scrub/rmap.c
+++ b/fs/xfs/scrub/rmap.c
@@ -46,8 +46,8 @@ xchk_rmapbt_xref_refc(
struct xfs_scrub *sc,
struct xfs_rmap_irec *irec)
{
- xfs_agblock_t fbno;
- xfs_extlen_t flen;
+ xfs_fsblock_t fbno;
+ xfs_filblks_t flen;
bool non_inode;
bool is_bmbt;
bool is_attr;