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>
This commit is contained in:

committed by
David Sterba

parent
e7e02096d9
commit
5a98ec0141
@@ -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;
|
||||
|
Reference in New Issue
Block a user