On Tue, Oct 17, 2023 at 08:47:19AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > 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. Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>