]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: check the allocation of system_unbound_wq
authorHitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Fri, 26 Nov 2010 11:06:44 +0000 (12:06 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 26 Nov 2010 11:06:44 +0000 (12:06 +0100)
commite8261a10f34c1ccb3ae377d5759730afe3f5f01d
tree687339b9d285c7d19d5c521cae9a30bd9b389631
parent9dd05ffb7509252677a6289ed2f811b60904a3fd
workqueue: check the allocation of system_unbound_wq

I found a trivial bug on initialization of workqueue.
Current init_workqueues doesn't check the result of
allocation of system_unbound_wq, this should be checked
like other queues.

Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c