提交 ab6a43e1 编写于 作者: D David Sterba

btrfs: remove unused parameter from tree_move_down

Never needed.
Reviewed-by: NLiu Bo <bo.li.liu@oracle.com>
Signed-off-by: NDavid Sterba <dsterba@suse.com>
上级 3d3a126a
...@@ -5241,7 +5241,7 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key, ...@@ -5241,7 +5241,7 @@ int btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key,
static int tree_move_down(struct btrfs_fs_info *fs_info, static int tree_move_down(struct btrfs_fs_info *fs_info,
struct btrfs_path *path, struct btrfs_path *path,
int *level, int root_level) int *level)
{ {
struct extent_buffer *eb; struct extent_buffer *eb;
...@@ -5299,7 +5299,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info, ...@@ -5299,7 +5299,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info,
ret = tree_move_next_or_upnext(fs_info, path, level, ret = tree_move_next_or_upnext(fs_info, path, level,
root_level); root_level);
} else { } else {
ret = tree_move_down(fs_info, path, level, root_level); ret = tree_move_down(fs_info, path, level);
} }
if (ret >= 0) { if (ret >= 0) {
if (*level == 0) if (*level == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册