btrfs: reduce uuid_mutex critical section while scanning devices
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Apr 2018 02:29:24 +0000 (10:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:12 +0000 (18:23 +0200)
commitb6ed73bcb1c4c8c742452a4cc03868ce4e7455c8
tree46ef1107f98b0441ea3825515ac0089e60926872
parent20a68004022d5b894efdf5959ebd538b8e91ec73
btrfs: reduce uuid_mutex critical section while scanning devices

The generic block device lookup or cleanup does not need the uuid mutex,
that's only for the device_list_add.

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