summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-tree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-10 14:44:43 +0200
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:07:33 +0200
commit2d5cffa1b0d5eca88d01477b27a86f56bd9175b7 (patch)
tree2cbea8f84fda8c7047c26e03b988c6309e14538f /fs/btrfs/free-space-tree.h
parentbtrfs: Remove fs_info argument from __add_block_group_free_space (diff)
downloadlinux-2d5cffa1b0d5eca88d01477b27a86f56bd9175b7.tar.xz
linux-2d5cffa1b0d5eca88d01477b27a86f56bd9175b7.zip
btrfs: Remove fs_info argument from __add_to_free_space_tree
This function already takes a transaction handle which contains a reference to fs_info. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-tree.h')
-rw-r--r--fs/btrfs/free-space-tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-tree.h b/fs/btrfs/free-space-tree.h
index e0abc265dc59..7555f64d6731 100644
--- a/fs/btrfs/free-space-tree.h
+++ b/fs/btrfs/free-space-tree.h
@@ -37,7 +37,6 @@ search_free_space_info(struct btrfs_trans_handle *trans,
struct btrfs_block_group_cache *block_group,
struct btrfs_path *path, int cow);
int __add_to_free_space_tree(struct btrfs_trans_handle *trans,
- struct btrfs_fs_info *fs_info,
struct btrfs_block_group_cache *block_group,
struct btrfs_path *path, u64 start, u64 size);
int __remove_from_free_space_tree(struct btrfs_trans_handle *trans,