diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-06-20 15:48:56 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 13:12:34 +0200 |
commit | 5a98ec0141805a0ff9adb18fd18834a906637f2f (patch) | |
tree | ca9fad6fa31b6fdf6d7269ec6da944997df8eb1d /fs/btrfs/volumes.c | |
parent | e7e02096d98388a003323c4223630d011ba1b382 (diff) |
btrfs: Remove fs_info from btrfs_remove_block_group
This function is always called with a valid transaction handle from
where we can reference fs_info. No functional changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index e806669dc43a..ff7c8cdacd85 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -2885,7 +2885,7 @@ int btrfs_remove_chunk(struct btrfs_trans_handle *trans, } } - ret = btrfs_remove_block_group(trans, fs_info, chunk_offset, em); + ret = btrfs_remove_block_group(trans, chunk_offset, em); if (ret) { btrfs_abort_transaction(trans, ret); goto out; |