]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use common variable for fs_devices in btrfs_destroy_dev_replace_tgtdev
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Apr 2018 02:29:38 +0000 (10:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:18 +0000 (18:23 +0200)
commit39545eeebf8c8ee9c93b0b013b6cd654533bafb6
tree17ab7e27dd972d6c5c40b305cddb0915e2905f0d
parentf3e115199948cb1773eb3d050ffd61f4ef2249bb
btrfs: use common variable for fs_devices in btrfs_destroy_dev_replace_tgtdev

Use a local btrfs_fs_devices variable to access the structure.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c