btrfs: get fs_info from block group in btrfs_find_space_cluster
authorDavid Sterba <dsterba@suse.com>
Wed, 20 Mar 2019 12:53:49 +0000 (13:53 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:46 +0000 (19:02 +0200)
commit2ceeae2e4c4c3be9d52e84909e3882302002bb9c
tree1c4dbaba1fde28d860c27113b1d48f874ca1f58c
parent6701bdb39ceb48d9b155c2b7f989c250140d6e45
btrfs: get fs_info from block group in btrfs_find_space_cluster

We can read fs_info from the block group cache structure and can drop it
from the parameters.

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