btrfs: Remove fs_info from btrfs_inc_block_group_ro
It can be referenced from the passed bg cache. 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
61da2abfca
commit
c83488afc5
@@ -9426,10 +9426,10 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int btrfs_inc_block_group_ro(struct btrfs_fs_info *fs_info,
|
||||
struct btrfs_block_group_cache *cache)
|
||||
int btrfs_inc_block_group_ro(struct btrfs_block_group_cache *cache)
|
||||
|
||||
{
|
||||
struct btrfs_fs_info *fs_info = cache->fs_info;
|
||||
struct btrfs_trans_handle *trans;
|
||||
u64 alloc_flags;
|
||||
int ret;
|
||||
|
Reference in New Issue
Block a user