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)
commit615cc2211c17ed05a2a5d94abdac6c340a8ea508
treee77b7442532bce0521f1da3cfcb985111e3ab1f1
parent87d6a412bd1ed82c14cabd4b408003b23bbd2880
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