xfs: plumb in needed functions for range querying of the freespace btrees
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 28 Mar 2017 21:56:34 +0000 (14:56 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Apr 2017 22:18:17 +0000 (15:18 -0700)
commit08438b1e386b7899e8a2ffef59d6ebf29aac530f
tree6666df138d034679906595132fb2859c0897e5df
parent80c9f490f344be7999f57fc31a8ed956f8c65f3b
xfs: plumb in needed functions for range querying of the freespace btrees

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>
fs/xfs/libxfs/xfs_alloc_btree.c