summaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-tree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-10 15:44:55 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:07:36 +0200
commite7355e501df48987a6646cb4ae6b0eafb4f48149 (patch)
treefb1be5a7255baf757d1f3956c91441e04f288d4c /fs/btrfs/free-space-tree.h
parent25a356d3f69fe5a1f6477227b9c4f853f763fe78 (diff)
btrfs: Remove fs_info argument from add_to_free_space_tree
This function takes a transaction handle which already contains a reference to the fs_info. So use it and remove the extra function argument. 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 95916320abec..3133651d7d70 100644
--- a/fs/btrfs/free-space-tree.h
+++ b/fs/btrfs/free-space-tree.h
@@ -23,7 +23,6 @@ int add_block_group_free_space(struct btrfs_trans_handle *trans,
int remove_block_group_free_space(struct btrfs_trans_handle *trans,
struct btrfs_block_group_cache *block_group);
int add_to_free_space_tree(struct btrfs_trans_handle *trans,
- struct btrfs_fs_info *fs_info,
u64 start, u64 size);
int remove_from_free_space_tree(struct btrfs_trans_handle *trans,
u64 start, u64 size);