btrfs: Remove fs_info from check_system_chunk
It can be referenced from trans since the function is always called within a transaction. 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
c216b2039a
commit
451a2c1303
@@ -2829,7 +2829,7 @@ int btrfs_remove_chunk(struct btrfs_trans_handle *trans,
|
||||
}
|
||||
map = em->map_lookup;
|
||||
mutex_lock(&fs_info->chunk_mutex);
|
||||
check_system_chunk(trans, fs_info, map->type);
|
||||
check_system_chunk(trans, map->type);
|
||||
mutex_unlock(&fs_info->chunk_mutex);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user