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>
This commit is contained in:
Michael S. Tsirkin 2011-11-27 19:05:58 +02:00
commit ea5d404655
3 changed files with 7 additions and 6 deletions