diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2011-04-20 10:08:47 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-05-23 17:24:43 (GMT) |
commit | 46224705656633466ca7dc71d81b3c0abc76cae4 (patch) | |
tree | 2cdc8c8cc82c2262edb8d89a27e5539359e61c40 /Documentation/arm | |
parent | 0c1daee085cff1395d1eba4ad6faff7810a594d8 (diff) | |
download | linux-fsl-qoriq-46224705656633466ca7dc71d81b3c0abc76cae4.tar.xz |
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 'Documentation/arm')
0 files changed, 0 insertions, 0 deletions