xfs: convert rt extent numbers to xfs_rtxnum_t
authorDarrick J. Wong <djwong@kernel.org>
Mon, 16 Oct 2023 16:32:45 +0000 (09:32 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 17 Oct 2023 23:24:22 +0000 (16:24 -0700)
commit2d5f216b77e33f9b503bd42998271da35d4b7055
tree3821c9ece9f7cd4f5834e5a2c01f71eb5b4d3083
parent3d2b6d034f0feb7741b313f978a2fe45e917e1be
xfs: convert rt extent numbers to xfs_rtxnum_t

Further disambiguate the xfs_rtblock_t uses by creating a new type,
xfs_rtxnum_t, to store the position of an extent within the realtime
section, in units of rtextents.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/libxfs/xfs_rtbitmap.h
fs/xfs/libxfs/xfs_types.h
fs/xfs/scrub/rtbitmap.c
fs/xfs/scrub/trace.h
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_rtalloc.c
fs/xfs/xfs_rtalloc.h