projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71dd88
)
btrfs: remove unused parameter fs_info from tree_move_down
author
David Sterba
<dsterba@suse.com>
Wed, 20 Mar 2019 14:02:46 +0000
(15:02 +0100)
committer
David Sterba
<dsterba@suse.com>
Mon, 29 Apr 2019 17:02:50 +0000
(19:02 +0200)
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/ctree.c
b/fs/btrfs/ctree.c
index eacd0b80e272d1eeed7c089df0361f8b6cfcb81c..e8a24fcb918257bd241f5c0457d70a4a8afc9791 100644
(file)
--- a/
fs/btrfs/ctree.c
+++ b/
fs/btrfs/ctree.c
@@
-5224,9
+5224,7
@@
out:
return ret;
}
-static int tree_move_down(struct btrfs_fs_info *fs_info,
- struct btrfs_path *path,
- int *level)
+static int tree_move_down(struct btrfs_path *path, int *level)
{
struct extent_buffer *eb;
@@
-5282,7
+5280,7
@@
static int tree_advance(struct btrfs_fs_info *fs_info,
if (*level == 0 || !allow_down) {
ret = tree_move_next_or_upnext(path, level, root_level);
} else {
- ret = tree_move_down(
fs_info,
path, level);
+ ret = tree_move_down(path, level);
}
if (ret >= 0) {
if (*level == 0)