btrfs: Remove fs_info from btrfs_alloc_chunk
authorNikolay Borisov <nborisov@suse.com>
Wed, 20 Jun 2018 12:49:06 +0000 (15:49 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:36 +0000 (13:12 +0200)
commitc216b2039aa06f9be23a9f385cb2d2f6434927d7
treeb4967b2da91f9b162a2fdb2a58236f3d2b9e4a30
parent01458828bb420d6a8f9aa09af2376caab71660b3
btrfs: Remove fs_info from btrfs_alloc_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>
fs/btrfs/extent-tree.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h