diff options
| author | Darrick J. Wong <[email protected]> | 2016-08-26 06:00:10 +0000 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2016-08-26 06:00:10 +0000 |
| commit | 5b5c2dbd3c9bcfa89fba9709c12ecc0a445c6e40 (patch) | |
| tree | 25a2ac8152c5aba5ffcdeb774c7baee21c2107fd /net/switchdev/switchdev.c | |
| parent | xfs: fix some key handling problems in _btree_simple_query_range (diff) | |
| download | kernel-5b5c2dbd3c9bcfa89fba9709c12ecc0a445c6e40.tar.gz kernel-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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
