Xiao Guangrong 4622470565 Btrfs: drop unnecessary device lock
Drop device_list_mutex for the reader side  on clone_fs_devices and
btrfs_rm_device pathes since the fs_info->volume_mutex can ensure the device
list is not updated

btrfs_close_extra_devices is the initialized path, we can not add or remove
device at this time, so we can simply drop the mutex safely, like other
initialized function does(add_missing_dev, __find_device, __btrfs_open_devices
...).

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-05-23 13:24:43 -04:00
..
2011-05-23 13:05:39 -04:00
2011-03-31 11:26:23 -03:00
2011-03-28 05:37:35 -04:00
2011-05-23 13:24:41 -04:00
2010-12-22 23:15:47 +08:00
2010-12-22 23:15:47 +08:00
2011-03-31 11:26:23 -03:00
2011-05-23 13:24:41 -04:00
2011-05-23 13:24:43 -04:00