Commit c7da9597 authored by David Sterba's avatar David Sterba

btrfs: remove unused parameter fs_info from tree_move_down

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c71dd880
...@@ -5224,9 +5224,7 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key, ...@@ -5224,9 +5224,7 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
return ret; return ret;
} }
static int tree_move_down(struct btrfs_fs_info *fs_info, static int tree_move_down(struct btrfs_path *path, int *level)
struct btrfs_path *path,
int *level)
{ {
struct extent_buffer *eb; struct extent_buffer *eb;
...@@ -5282,7 +5280,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info, ...@@ -5282,7 +5280,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info,
if (*level == 0 || !allow_down) { if (*level == 0 || !allow_down) {
ret = tree_move_next_or_upnext(path, level, root_level); ret = tree_move_next_or_upnext(path, level, root_level);
} else { } else {
ret = tree_move_down(fs_info, path, level); ret = tree_move_down(path, level);
} }
if (ret >= 0) { if (ret >= 0) {
if (*level == 0) if (*level == 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment