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>
Showing
Please register or sign in to comment