summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-tree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-10 15:44:53 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:07:35 +0200
commitc31683a6efe5517043c23eada0647c1535f865fe (patch)
tree653b8ad99719213b2337a6489e0c423de162b533 /fs/btrfs/free-space-tree.h
parente581168d1f56ae64e29bd715d34455980212f18d (diff)
downloadlinux-c31683a6efe5517043c23eada0647c1535f865fe.tar.bz2
btrfs: Remove fs_info argument from __remove_from_free_space_tree
This function takes a transaction handle which holds a reference to fs_info. So use that and remove the extra 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 7624f2a1f8e7..ca3ad610a8d0 100644
--- a/fs/btrfs/free-space-tree.h
+++ b/fs/btrfs/free-space-tree.h
@@ -39,7 +39,6 @@ int __add_to_free_space_tree(struct btrfs_trans_handle *trans,
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,
- struct btrfs_fs_info *fs_info,
struct btrfs_block_group_cache *block_group,
struct btrfs_path *path, u64 start, u64 size);
int convert_free_space_to_bitmaps(struct btrfs_trans_handle *trans,