]> Pileus Git - ~andy/linux/blobdiff - drivers/vhost/tcm_vhost.c
vhost: move -net specific code out
[~andy/linux] / drivers / vhost / tcm_vhost.c
index aa31692064ddd08b6aa91718ed1ece369da74631..23c138fdc1951558f69854639e75b81aea46395a 100644 (file)
@@ -895,6 +895,7 @@ static int vhost_scsi_release(struct inode *inode, struct file *f)
                vhost_scsi_clear_endpoint(s, &backend);
        }
 
+       vhost_dev_stop(&s->dev);
        vhost_dev_cleanup(&s->dev, false);
        kfree(s);
        return 0;