diff options
author | David Sterba <dsterba@suse.com> | 2017-02-10 12:44:32 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-17 06:03:50 -0500 |
commit | cda79c545ead7e00b1adaf82a13fcea892bf1f43 (patch) | |
tree | 81c764f0599c05936d3b824a5a25ef3bc345c8b2 | |
parent | 6655bc3de1078f8343263b8d822d0aa2236d86b4 (diff) |
btrfs: remove unused parameter from read_block_for_search
Never used in that function.
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/ctree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index fbeff20eb194..35e22349c139 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -2440,7 +2440,7 @@ noinline void btrfs_unlock_up_safe(struct btrfs_path *path, int level) | |||
2440 | static int | 2440 | static int |
2441 | read_block_for_search(struct btrfs_root *root, struct btrfs_path *p, | 2441 | read_block_for_search(struct btrfs_root *root, struct btrfs_path *p, |
2442 | struct extent_buffer **eb_ret, int level, int slot, | 2442 | struct extent_buffer **eb_ret, int level, int slot, |
2443 | const struct btrfs_key *key, u64 time_seq) | 2443 | const struct btrfs_key *key) |
2444 | { | 2444 | { |
2445 | struct btrfs_fs_info *fs_info = root->fs_info; | 2445 | struct btrfs_fs_info *fs_info = root->fs_info; |
2446 | u64 blocknr; | 2446 | u64 blocknr; |
@@ -2871,7 +2871,7 @@ cow_done: | |||
2871 | } | 2871 | } |
2872 | 2872 | ||
2873 | err = read_block_for_search(root, p, &b, level, | 2873 | err = read_block_for_search(root, p, &b, level, |
2874 | slot, key, 0); | 2874 | slot, key); |
2875 | if (err == -EAGAIN) | 2875 | if (err == -EAGAIN) |
2876 | goto again; | 2876 | goto again; |
2877 | if (err) { | 2877 | if (err) { |
@@ -3015,7 +3015,7 @@ again: | |||
3015 | } | 3015 | } |
3016 | 3016 | ||
3017 | err = read_block_for_search(root, p, &b, level, | 3017 | err = read_block_for_search(root, p, &b, level, |
3018 | slot, key, time_seq); | 3018 | slot, key); |
3019 | if (err == -EAGAIN) | 3019 | if (err == -EAGAIN) |
3020 | goto again; | 3020 | goto again; |
3021 | if (err) { | 3021 | if (err) { |
@@ -5786,7 +5786,7 @@ again: | |||
5786 | next = c; | 5786 | next = c; |
5787 | next_rw_lock = path->locks[level]; | 5787 | next_rw_lock = path->locks[level]; |
5788 | ret = read_block_for_search(root, path, &next, level, | 5788 | ret = read_block_for_search(root, path, &next, level, |
5789 | slot, &key, 0); | 5789 | slot, &key); |
5790 | if (ret == -EAGAIN) | 5790 | if (ret == -EAGAIN) |
5791 | goto again; | 5791 | goto again; |
5792 | 5792 | ||
@@ -5836,7 +5836,7 @@ again: | |||
5836 | break; | 5836 | break; |
5837 | 5837 | ||
5838 | ret = read_block_for_search(root, path, &next, level, | 5838 | ret = read_block_for_search(root, path, &next, level, |
5839 | 0, &key, 0); | 5839 | 0, &key); |
5840 | if (ret == -EAGAIN) | 5840 | if (ret == -EAGAIN) |
5841 | goto again; | 5841 | goto again; |
5842 | 5842 | ||