summaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 21:24:53 +0300
committerDavid Sterba <dsterba@suse.com>2017-02-17 14:03:52 +0300
commitab6a43e1221b55c1587a8e7a05deda61f4d25800 (patch)
tree35f481913530f3188abdecb990db88ff288266a4 /fs/btrfs
parent3d3a126a81f152a5abfe19916a5099d2bbd38f9d (diff)
downloadlinux-ab6a43e1221b55c1587a8e7a05deda61f4d25800.tar.xz
btrfs: remove unused parameter from tree_move_down
Never needed. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/ctree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index b98e90a3eee7..a981c2acd6fa 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -5241,7 +5241,7 @@ out:
static int tree_move_down(struct btrfs_fs_info *fs_info,
struct btrfs_path *path,
- int *level, int root_level)
+ int *level)
{
struct extent_buffer *eb;
@@ -5299,7 +5299,7 @@ static int tree_advance(struct btrfs_fs_info *fs_info,
ret = tree_move_next_or_upnext(fs_info, path, level,
root_level);
} else {
- ret = tree_move_down(fs_info, path, level, root_level);
+ ret = tree_move_down(fs_info, path, level);
}
if (ret >= 0) {
if (*level == 0)