]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ed177f040f2c2b81c054399b6ca7158f68850f0
tree6666df138d034679906595132fb2859c0897e5df
parent84b274bdbfd0ce67238134f5c724864cf8347ace
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