btrfs: use the assigned fs_devices instead of the dereference
authorAnand Jain <anand.jain@oracle.com>
Mon, 16 Jul 2018 14:58:09 +0000 (22:58 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:53 +0000 (13:12 +0200)
commit321a4bf72b251319aa456ea542161729442b6f61
tree32c4add87aaad36d1a940126f547bbaf126b5f54
parent62088ca7427d23ec1a5def9143098ca9c41c5302
btrfs: use the assigned fs_devices instead of the dereference

We have assigned the %fs_info->fs_devices in %fs_devices as its not
modified just use it for the mutex_lock().

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