btrfs: get fs_info from device in btrfs_rm_dev_replace_free_srcdev
authorDavid Sterba <dsterba@suse.com>
Wed, 20 Mar 2019 15:34:54 +0000 (16:34 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:48 +0000 (19:02 +0200)
commit65237ee3b6b3c529548438054a819f63fb50757d
treee3684b5800f08e4f5eea80339b7191286fbfcde1
parent163e97ee0d0f8194ef66f10b0bf0851b7f6b55dd
btrfs: get fs_info from device in btrfs_rm_dev_replace_free_srcdev

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

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