diff options
author | Filipe Manana <fdmanana@suse.com> | 2022-04-13 16:20:39 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:03:13 +0200 |
commit | 0eb997bff001ef53cd4d920762d0ed753b36fecd (patch) | |
tree | 889fee486de6ec072587ab3d80692ea72274eae4 /init | |
parent | 44e5801fada6925d2bba1987c7b59cbcc9d0d592 (diff) | |
download | linux-0eb997bff001ef53cd4d920762d0ed753b36fecd.tar.bz2 |
btrfs: remove search start argument from first_logical_byte()
The search start argument passed to first_logical_byte() is always 0, as
we always want to get the logical start address of the block group with
the lowest logical start address. So remove it, as not only it is not
necessary, it also makes the following patches that change the lock that
protects the red black tree of block groups from a spin lock to a
read/write lock.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions