]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: plumb in needed functions for range querying of the freespace btrees
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 11 May 2017 19:01:07 +0000 (14:01 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 11 May 2017 19:01:07 +0000 (14:01 -0500)
commit46a1586d34cece7dfc8eed6f12ecb8b5fc872fa1
tree4abda828b55b092f1ed60cc8fe1785a27734dbf7
parent18f2e048c04187b009555f084be02c70271ca8e3
xfs: plumb in needed functions for range querying of the freespace btrees

Source kernel commit: 08438b1e386b7899e8a2ffef59d6ebf29aac530f

Plumb in the pieces (init_high_key, diff_two_keys) necessary to call
query_range on the free space btrees.  Remove the debugging asserts
so that we can make queries starting from block 0.

While we're at it, merge the redundant "if (btnum ==" hunks.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_alloc_btree.c