]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: simplify xfs_rtalloc_query_range
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Oct 2024 19:43:41 +0000 (12:43 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:40 +0000 (13:44 -0700)
commitbb48498f6b3947d38cc0b01319f83a8fa14b2ddd
tree7a791c3443be0919760dfd0446a2903dcf57ed6b
parentf5897da4eb3cc76c032d1728b0e1de7258d2fdaa
xfs: simplify xfs_rtalloc_query_range

Source kernel commit: df8b181f1551581e96076a653cdca43468093c0f

There isn't much of a good reason to pass the xfs_rtalloc_rec structures
that describe extents to xfs_rtalloc_query_range as we really just want
a lower and upper bound xfs_rtxnum_t.  Pass the rtxnum directly and
simply the interface.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtbitmap.h