workqueue: Factorize unbind/rebind_workers() logic
authorValentin Schneider <vschneid@redhat.com>
Thu, 12 Jan 2023 16:14:28 +0000 (16:14 +0000)
committerTejun Heo <tj@kernel.org>
Thu, 12 Jan 2023 16:21:49 +0000 (06:21 -1000)
commit793777bc193b658f01924fd09b388eead26d741f
tree18c87130694fb9bd2114445dabd8d28180befadf
parent99c621ef243bda726fb8d982a274ded96570b410
workqueue: Factorize unbind/rebind_workers() logic

Later patches will reuse this code, move it into reusable functions.

Signed-off-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c