aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-10-16 09:16:22 -0700
committerDarrick J. Wong <djwong@kernel.org>2023-10-17 08:40:54 -0700
commit6c664484337b37fa0cf6e958f4019623e30d40f7 (patch)
tree093f4bec2c47255c7bf232267bd9be6daf520a27 /fs/xfs/xfs_rtalloc.c
parentxfs: bump max fsgeom struct version (diff)
downloadwireguard-linux-6c664484337b37fa0cf6e958f4019623e30d40f7.tar.xz
wireguard-linux-6c664484337b37fa0cf6e958f4019623e30d40f7.zip
xfs: hoist freeing of rt data fork extent mappings
Currently, xfs_bmap_del_extent_real contains a bunch of code to convert the physical extent of a data fork mapping for a realtime file into rt extents and pass that to the rt extent freeing function. Since the details of this aren't needed when CONFIG_XFS_REALTIME=n, move it to xfs_rtbitmap.c to reduce code size when realtime isn't enabled. This will (one day) enable realtime EFIs to reuse the same unit-converting call with less code duplication. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions