diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-10 15:44:46 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-05-28 18:07:34 +0200 |
commit | f3f7277995675d632a3e42144e1a4c9b0cc58d44 (patch) | |
tree | 8e4bb321c7299a1ad58eae3ec44d62d41fa2daa4 /fs/btrfs/free-space-tree.h | |
parent | 4457c1c702fa1cb2f032bae6dfa0dd2f84ff2b5c (diff) | |
download | linux-f3f7277995675d632a3e42144e1a4c9b0cc58d44.tar.gz linux-f3f7277995675d632a3e42144e1a4c9b0cc58d44.tar.bz2 linux-f3f7277995675d632a3e42144e1a4c9b0cc58d44.zip |
btrfs: Remove fs_info parameter from remove_block_group_free_space
This function always takes a trans handle which contains a reference to
the fs_info. 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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-tree.h b/fs/btrfs/free-space-tree.h index 7555f64d6731..c4adfd05f34f 100644 --- a/fs/btrfs/free-space-tree.h +++ b/fs/btrfs/free-space-tree.h @@ -21,7 +21,6 @@ int load_free_space_tree(struct btrfs_caching_control *caching_ctl); int add_block_group_free_space(struct btrfs_trans_handle *trans, struct btrfs_block_group_cache *block_group); int remove_block_group_free_space(struct btrfs_trans_handle *trans, - struct btrfs_fs_info *fs_info, struct btrfs_block_group_cache *block_group); int add_to_free_space_tree(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, |