diff options
| author | Filipe Manana <[email protected]> | 2021-12-02 10:30:35 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-01-07 14:18:23 +0100 |
| commit | fb81212c07b1d1870fefdf883d2d4e8a9386308b (patch) | |
| tree | 50e55a3067584d6b8db9c7163a6110db770126d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 120de408e4b97504a2d9b5ca534b383de2c73d49 (diff) | |
btrfs: allow generic_bin_search() to take low boundary as an argument
Right now generic_bin_search() always uses a low boundary slot of 0, but
in the next patch we'll want to often skip slot 0 when searching for a
key. So make generic_bin_search() have the low boundary slot specified
as an argument, and move the check for the extent buffer level from
btrfs_bin_search() to generic_bin_search() to avoid adding another
wrapper around generic_bin_search().
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions