diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-08-26 16:00:10 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-08-26 16:00:10 +1000 |
commit | 5b5c2dbd3c9bcfa89fba9709c12ecc0a445c6e40 (patch) | |
tree | 25a2ac8152c5aba5ffcdeb774c7baee21c2107fd /fs/xfs/libxfs/xfs_btree.h | |
parent | 722278997bc964349e23e7061d541f8df3133a04 (diff) | |
download | blackbird-op-linux-5b5c2dbd3c9bcfa89fba9709c12ecc0a445c6e40.tar.gz blackbird-op-linux-5b5c2dbd3c9bcfa89fba9709c12ecc0a445c6e40.zip |
xfs: simple btree query range should look right if LE lookup fails
If the initial LOOKUP_LE in the simple query range fails to find
anything, we should attempt to increment the btree cursor to see
if there actually /are/ records for what we're trying to find.
Without this patch, a bnobt range query of (0, $agsize) returns
no results because the leftmost record never has a startblock
of zero.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.h')
0 files changed, 0 insertions, 0 deletions