]> git.karo-electronics.de Git - linux-beck.git/commit
vhost: fix release path lockdep checks
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 27 Nov 2011 17:05:58 +0000 (19:05 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 28 Feb 2012 07:13:22 +0000 (09:13 +0200)
commitea5d404655ba3b356d0c06d6a3c4f24112124522
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