diff options
| author | 2024-10-16 10:45:47 +0100 | |
|---|---|---|
| committer | 2024-11-11 14:34:18 +0100 | |
| commit | 2b1ef80d68100a064f94fb2e658881b9f260cf08 (patch) | |
| tree | cdbca100b7acc05a86be6ef3a9f65e09da6f42b2 /fs/btrfs/tree-checker.c | |
| parent | btrfs: re-enable the extent map shrinker (diff) | |
| download | linux-rng-2b1ef80d68100a064f94fb2e658881b9f260cf08.tar.xz linux-rng-2b1ef80d68100a064f94fb2e658881b9f260cf08.zip | |
btrfs: remove redundant level argument from read_block_for_search()
The level parameter passed to read_block_for_search() always matches the
level of the extent buffer passed in the "eb_ret" parameter, which we are
also extracting into the "parent_level" local variable.
So remove the level parameter and instead use the "parent_level" variable
which in fact has a better name (it's the level of the parent node from
which we are reading a child node/leaf).
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 'fs/btrfs/tree-checker.c')
0 files changed, 0 insertions, 0 deletions
