]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: simplify xfs_rtalloc_query_range
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Jul 2024 21:21:59 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 16 Jul 2024 22:49:14 +0000 (15:49 -0700)
commit1e2f58fb69fbecaeaff7c47cd51374c2fcddf8d1
tree620dcb731aca264c906be4d4d872c36ab5dd62d8
parent148bde4cfd1b19247a90d6dfc760d39a3498729d
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