vhost: fix release path lockdep checks
commitea5d404655ba3b356d0c06d6a3c4f24112124522
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 27 Nov 2011 17:05:58 +0000 (27 19:05 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 28 Feb 2012 07:13:22 +0000 (28 09:13 +0200)
tree092a40fd222d3565ca4b5188c85dba65c1305583
parentd550dda192c1bd039afb774b99485e88b70d7cb8
vhost: fix release path lockdep checks

We shouldn't hold any locks on release path. Pass a flag to
vhost_dev_cleanup to use the lockdep info correctly.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Sasha Levin <levinsasha928@gmail.com>
drivers/vhost/net.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h