[V2 for-3.6-fixes PATCH 1/7] workqueue: clear WORKER_REBIND unconditionaly in busy_worker_rebind_fn()

2012-09-17 Thread Lai Jiangshan
We must clear this WORKER_REBIND before busy_worker_rebind_fn() returns, otherise the worker may go to call idle_worker_rebind() wrongly, which may access to the invalid ->idle_rebind and sleep forever in ->rebind_hold. Signed-off-by: Lai Jiangshan --- kernel/workqueue.c | 16

[V2 for-3.6-fixes PATCH 1/7] workqueue: clear WORKER_REBIND unconditionaly in busy_worker_rebind_fn()

2012-09-17 Thread Lai Jiangshan
We must clear this WORKER_REBIND before busy_worker_rebind_fn() returns, otherise the worker may go to call idle_worker_rebind() wrongly, which may access to the invalid -idle_rebind and sleep forever in -rebind_hold. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c |