btrfs: get fs_info from trans in btrfs_setup_space_cache
authorDavid Sterba <dsterba@suse.com>
Wed, 20 Mar 2019 11:02:55 +0000 (12:02 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:40 +0000 (19:02 +0200)
commitbbebb3e0babb68bbff240608aaa14229d2d5d1dc
treeec4ec0f6f2e7c2b93daecef724484a4f356f646f
parent39db232daec79c8fec83b3447a8c9b7352c79fcc
btrfs: get fs_info from trans in btrfs_setup_space_cache

We can read fs_info from the transaction and can drop it from the
parameters.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/transaction.c