btrfs: remove unused parameter from tree_move_next_or_upnext
Not needed. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Родитель
ab6a43e122
Коммит
f1e3026192
|
@ -5256,8 +5256,7 @@ static int tree_move_down(struct btrfs_fs_info *fs_info,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int tree_move_next_or_upnext(struct btrfs_fs_info *fs_info,
|
static int tree_move_next_or_upnext(struct btrfs_path *path,
|
||||||
struct btrfs_path *path,
|
|
||||||
int *level, int root_level)
|
int *level, int root_level)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
@ -5296,8 +5295,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info,
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (*level == 0 || !allow_down) {
|
if (*level == 0 || !allow_down) {
|
||||||
ret = tree_move_next_or_upnext(fs_info, path, level,
|
ret = tree_move_next_or_upnext(path, level, root_level);
|
||||||
root_level);
|
|
||||||
} else {
|
} else {
|
||||||
ret = tree_move_down(fs_info, path, level);
|
ret = tree_move_down(fs_info, path, level);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче