commit | 8f174b1175a10903ade40f36eb6c896412877ca0 | [log] [tgz] |
---|---|---|
author | Joonsoo Kim <js1304@gmail.com> | Wed May 01 00:07:00 2013 +0900 |
committer | Tejun Heo <tj@kernel.org> | Tue May 14 11:48:15 2013 -0700 |
tree | b6f1c9c7317ecc1092f582aca0160fdfb77c624e | |
parent | d3251859168b0b12841e1b90d6d768ab478dc23d [diff] |
workqueue: correct handling of the pool spin_lock When we fail to mutex_trylock(), we release the pool spin_lock and do mutex_lock(). After that, we should regrab the pool spin_lock, but, regrabbing is missed in current code. So correct it. Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Tejun Heo <tj@kernel.org>