提交 5e7045b0 编写于 作者: Z Zhi Yong Wu 提交者: 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: NZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册