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:
Nikolay Borisov
2018-06-20 15:49:07 +03:00
committed by David Sterba
parent c216b2039a
commit 451a2c1303
3 changed files with 6 additions and 7 deletions

View File

@@ -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);
/*