summaryrefslogtreecommitdiffstats
path: root/fs/hpfs
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2011-04-20 10:08:47 +0000
committerChris Mason <chris.mason@oracle.com>2011-05-23 13:24:43 -0400
commit46224705656633466ca7dc71d81b3c0abc76cae4 (patch)
tree2cdc8c8cc82c2262edb8d89a27e5539359e61c40 /fs/hpfs
parent0c1daee085cff1395d1eba4ad6faff7810a594d8 (diff)
downloadblackbird-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/hpfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud