diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2011-04-20 10:08:47 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-05-23 13:24:43 -0400 |
commit | 46224705656633466ca7dc71d81b3c0abc76cae4 (patch) | |
tree | 2cdc8c8cc82c2262edb8d89a27e5539359e61c40 /fs/adfs | |
parent | 0c1daee085cff1395d1eba4ad6faff7810a594d8 (diff) | |
download | blackbird-op-linux-46224705656633466ca7dc71d81b3c0abc76cae4.tar.gz blackbird-op-linux-46224705656633466ca7dc71d81b3c0abc76cae4.zip |
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>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions