btrfs: Remove fs_info from btrfs_destroy_dev_replace_tgtdev
authorNikolay Borisov <nborisov@suse.com>
Fri, 20 Jul 2018 16:37:51 +0000 (19:37 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:57 +0000 (13:12 +0200)
commit4f5ad7bd6315528ed50a11d53c66854a5d16425b
tree286a20070d43f4c1a698ad7b0c4ebde76a2d226c
parentd6507cf1e2dfa4f6888cd90e4c9a307f7ac9b383
btrfs: Remove fs_info from btrfs_destroy_dev_replace_tgtdev

This function is always passed a well-formed tgtdevice so the fs_info
can be referenced from there.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h