summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-12-08 20:39:16 +0300
committerTejun Heo <tj@kernel.org>2014-12-08 20:39:16 +0300
commitb2d829096bee7eaf7be31b6229bf722e503adfd8 (patch)
tree292d3cc7a790a667e7b8d7175b83886f6c6eeec2 /drivers/ata
parent0479c8c54983765085536c9463591548b45ad0a1 (diff)
downloadlinux-b2d829096bee7eaf7be31b6229bf722e503adfd8.tar.xz
workqueue: invert the order between pool->lock and wq_mayday_lock
Currently, pool->lock nests inside pool->lock. There's no inherent reason for this order. The only place where the two locks are held together is pool_mayday_timeout() and it just got decided that way. This nesting order turns out to complicate things with the planned rescuer_thread() update. Let's invert them. This doesn't cause any behavior differences. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: NeilBrown <neilb@suse.de> Cc: Dongsu Park <dongsu.park@profitbricks.com>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions