]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: simplify xfs_rtalloc_query_range
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Aug 2024 23:01:58 +0000 (16:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 16 Aug 2024 21:57:31 +0000 (14:57 -0700)
commitee3bd9cafb0659dbd4fe9d5224e2e02b0ce3a7a7
treee83f4a8719de42ed8dc80f3a3163a8969eff8ad2
parent54eecaab2063d27efeeba9fe94c632afacffc360
xfs: simplify xfs_rtalloc_query_range

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