summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-10 15:44:46 +0300
committerDavid Sterba <dsterba@suse.com>2018-05-28 19:07:34 +0300
commitf3f7277995675d632a3e42144e1a4c9b0cc58d44 (patch)
tree8e4bb321c7299a1ad58eae3ec44d62d41fa2daa4 /fs/btrfs/extent-tree.c
parent4457c1c702fa1cb2f032bae6dfa0dd2f84ff2b5c (diff)
downloadlinux-f3f7277995675d632a3e42144e1a4c9b0cc58d44.tar.xz
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/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 4d4e064b2897..37ffd4919087 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -10638,7 +10638,7 @@ int btrfs_remove_block_group(struct btrfs_trans_handle *trans,
mutex_unlock(&fs_info->chunk_mutex);
- ret = remove_block_group_free_space(trans, fs_info, block_group);
+ ret = remove_block_group_free_space(trans, block_group);
if (ret)
goto out;