OSDN Git Service

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)
commitd9a071f0086d22a6bdb57dc5ecbbf65fa20b6e22
tree17ab7e27dd972d6c5c40b305cddb0915e2905f0d
parentab5c2f65debc23d6f76cbb7e743ff4d10e66dce0
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