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)
commite5cba24e3f018d4beb6acd101a82483c98f91ce7
tree687339b9d285c7d19d5c521cae9a30bd9b389631
parent698fd6a2c3ca05ec796072defb5c415289a86cdc
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