aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-10 13:13:06 -0500
committerDavid Sterba <dsterba@suse.com>2017-02-17 06:03:52 -0500
commit1e47eef223bd53d54085832598afedf8bd6b5c77 (patch)
tree9817850e0b1c6a9e45053c0abe0a1c5461e6e876
parenteece6a9cf69140fe1886f14d9a96add4f9929d78 (diff)
btrfs: remove unused parameter from __push_leaf_right
Unused since long ago. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--fs/btrfs/ctree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 4c5d7c40c8bf..2283f92b5484 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -3595,8 +3595,7 @@ noinline int btrfs_leaf_free_space(struct btrfs_fs_info *fs_info,
3595 * min slot controls the lowest index we're willing to push to the 3595 * min slot controls the lowest index we're willing to push to the
3596 * right. We'll push up to and including min_slot, but no lower 3596 * right. We'll push up to and including min_slot, but no lower
3597 */ 3597 */
3598static noinline int __push_leaf_right(struct btrfs_trans_handle *trans, 3598static noinline int __push_leaf_right(struct btrfs_fs_info *fs_info,
3599 struct btrfs_fs_info *fs_info,
3600 struct btrfs_path *path, 3599 struct btrfs_path *path,
3601 int data_size, int empty, 3600 int data_size, int empty,
3602 struct extent_buffer *right, 3601 struct extent_buffer *right,
@@ -3810,7 +3809,7 @@ static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root
3810 return 0; 3809 return 0;
3811 } 3810 }
3812 3811
3813 return __push_leaf_right(trans, fs_info, path, min_data_size, empty, 3812 return __push_leaf_right(fs_info, path, min_data_size, empty,
3814 right, free_space, left_nritems, min_slot); 3813 right, free_space, left_nritems, min_slot);
3815out_unlock: 3814out_unlock:
3816 btrfs_tree_unlock(right); 3815 btrfs_tree_unlock(right);