]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: drop uuid_mutex in btrfs_destroy_dev_replace_tgtdev
authorAnand Jain <anand.jain@oracle.com>
Thu, 12 Apr 2018 02:29:37 +0000 (10:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:23:17 +0000 (18:23 +0200)
commit70dd50a2a71d3fe8822d9b29f44896f22102975e
tree4ed95c20dab0f4c8cd2e42978798749bdd725c0a
parentd78dfffa471cb46efc9754662ff8125443cebecb
btrfs: drop uuid_mutex in btrfs_destroy_dev_replace_tgtdev

Delete the uuid_mutex lock here as this thread accesses the
btrfs_fs_devices::devices only (counters or called functions do a list
traversal). And the device_list_mutex lock is already taken.

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