]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/vhost/net.c
vhost: fix release path lockdep checks
[mirror_ubuntu-zesty-kernel.git] / drivers / vhost / net.c
index 9dab1f51dd43b3bac6e275eac77f995fb245d48d..f0da2c32fbdefce2ff9d791f9fa23a73ac49de8d 100644 (file)
@@ -588,7 +588,7 @@ static int vhost_net_release(struct inode *inode, struct file *f)
 
        vhost_net_stop(n, &tx_sock, &rx_sock);
        vhost_net_flush(n);
-       vhost_dev_cleanup(&n->dev);
+       vhost_dev_cleanup(&n->dev, false);
        if (tx_sock)
                fput(tx_sock->file);
        if (rx_sock)