]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: error handling fix
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Sep 2010 11:16:36 +0000 (14:16 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 6 Sep 2010 06:49:39 +0000 (09:49 +0300)
commit648c9935fe9cb8c07258cc29d43e6c177f403f6f
treee77b7442532bce0521f1da3cfcb985111e3ab1f1
parente3e25d33a6e9b3c351050edae0f2527036df1d7c
vhost: error handling fix

vhost should set worker to NULL on cgroups attach failure,
so that we won't try to destroy the worker again on close.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c