diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2015-05-20 09:41:18 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-05-22 00:26:22 +0300 |
commit | 899a94fe15a8e928277ff0d0402c086fa67fe16f (patch) | |
tree | ef82ff159b3fffde2c76f6502f0ce82f5896b954 /include/linux/workqueue.h | |
parent | da7f91b2e2c6176f95ca7b538d74dc70c5d11ded (diff) | |
download | linux-899a94fe15a8e928277ff0d0402c086fa67fe16f.tar.xz |
workqueue: remove the lock from wq_sysfs_prep_attrs()
Reading to wq->unbound_attrs requires protection of either wq_pool_mutex
or wq->mutex, and wq_sysfs_prep_attrs() is called with wq_pool_mutex held,
so we don't need to grab wq->mutex here.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions