aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2016-08-26 06:00:10 +0000
committerDave Chinner <[email protected]>2016-08-26 06:00:10 +0000
commit5b5c2dbd3c9bcfa89fba9709c12ecc0a445c6e40 (patch)
tree25a2ac8152c5aba5ffcdeb774c7baee21c2107fd /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentxfs: fix some key handling problems in _btree_simple_query_range (diff)
downloadkernel-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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions