commit | 9f9c23644b07e7a51f6f39064e61c150be712932 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Jul 14 11:31:20 2010 +0200 |
committer | Tejun Heo <tj@kernel.org> | Wed Jul 14 11:31:20 2010 +0200 |
tree | 831849ae8bfd602b3333e8ea8e3beb2cf0dee348 | |
parent | 083b804c4d3e1e3d0eace56bdbc0f674946d2847 [diff] |
workqueue: fix locking in retry path of maybe_create_worker() maybe_create_worker() mismanaged locking when worker creation fails and it has to retry. Fix locking and simplify lock manipulation. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Yong Zhang <yong.zhang@windriver.com>