xfs: clean up xfs_rtallocate_extent_exact a bit
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Aug 2024 22:37:05 +0000 (15:37 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commit62c3d2496808ab47714906e24eed67cfdf5735c7
tree7d715534876f9a5124b07bc75871f3a1d4fbe556
parente6a74dcf9bc3f14e4ad4c9c97a47e591a3f3b49f
xfs: clean up xfs_rtallocate_extent_exact a bit

Before we start doing more surgery on the rt allocator, let's clean up
the exact allocator so that it doesn't change its arguments and uses the
helper introduced in the previous patch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_rtalloc.c