Btrfs: protect devices list with its mutex
authorLiu Bo <[email protected]>
Wed, 14 Nov 2012 14:35:30 +0000 (14:35 +0000)
committerJosef Bacik <[email protected]>
Wed, 12 Dec 2012 22:15:28 +0000 (17:15 -0500)
commitd25628bdd66aedd6e07729d8dc6c8ee846d66d72
treea2d8e42e7353380ab6527739468ff1dd5b8e1144
parentb53d3f5db2b79637acadc06a330db6c2c60863f5
Btrfs: protect devices list with its mutex

Since we've kill the bigger one volume_mutex, we need to add devices
list mutex back.

Signed-off-by: Liu Bo <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/volumes.c