From: Tejun Heo Date: Mon, 8 Dec 2014 17:39:16 +0000 (-0500) Subject: workqueue: invert the order between pool->lock and wq_mayday_lock X-Git-Tag: omap-for-v3.19/fixes-rc1~119^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2d829096bee7eaf7be31b6229bf722e503adfd8;p=pandora-kernel.git 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 Reviewed-by: Lai Jiangshan Cc: NeilBrown Cc: Dongsu Park --- Reading git-diff-tree failed