xfs: create a helper to convert rtextents to rtblocks
authorDarrick J. Wong <djwong@kernel.org>
Mon, 16 Oct 2023 16:32:54 +0000 (09:32 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 17 Oct 2023 23:24:22 +0000 (16:24 -0700)
commitfa5a387230861116c2434c20d29fc4b3fd077d24
tree817d3e24e0812618840504fefd268444ffbc453d
parent2d5f216b77e33f9b503bd42998271da35d4b7055
xfs: create a helper to convert rtextents to rtblocks

Create a helper to convert a realtime extent to a realtime block.  Later
on we'll change the helper to use bit shifts when possible.

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