Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9f9c2364 authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarYong Zhang <yong.zhang@windriver.com>
parent 083b804c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment