Commit 5e7045b0 authored by Zhi Yong Wu's avatar Zhi Yong Wu Committed by Michael S. Tsirkin

tools/virtio: fix up vhost/test module build

commit ea5d4046
broke build for the vhost test module used
by tools/virtio. Fix it up.
Signed-off-by: default avatarZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 00341028
...@@ -155,7 +155,7 @@ static int vhost_test_release(struct inode *inode, struct file *f) ...@@ -155,7 +155,7 @@ static int vhost_test_release(struct inode *inode, struct file *f)
vhost_test_stop(n, &private); vhost_test_stop(n, &private);
vhost_test_flush(n); vhost_test_flush(n);
vhost_dev_cleanup(&n->dev); vhost_dev_cleanup(&n->dev, false);
/* We do an extra flush before freeing memory, /* We do an extra flush before freeing memory,
* since jobs can re-queue themselves. */ * since jobs can re-queue themselves. */
vhost_test_flush(n); vhost_test_flush(n);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment