btrfs: get fs_info from eb in btrfs_check_chunk_valid
authorDavid Sterba <dsterba@suse.com>
Wed, 20 Mar 2019 15:40:48 +0000 (16:40 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:39 +0000 (19:02 +0200)
commitddaf1d5aef2c34f0cf5b0d71a48f9d88c5a0e2dc
treea4d9170bf4d5c47d6da1be05ab8b78b32a8e08ca
parent6ec0896c4c810da6abf2130f13cbbe38a8955697
btrfs: get fs_info from eb in btrfs_check_chunk_valid

We can read fs_info from extent buffer and can drop it from the
parameters.

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