From: Lai Jiangshan Date: Wed, 20 May 2015 06:41:18 +0000 (+0800) Subject: workqueue: remove the lock from wq_sysfs_prep_attrs() X-Git-Tag: omap-for-v4.3/legacy-v2-signed~115^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899a94fe15a8e928277ff0d0402c086fa67fe16f;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed