tools/virtio: fix up vhost/test module build
commit ea5d404655
broke build for the vhost test module used
by tools/virtio. Fix it up.
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
0034102808
commit
5e7045b010
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ static int vhost_test_release(struct inode *inode, struct file *f)
|
|||
|
||||
vhost_test_stop(n, &private);
|
||||
vhost_test_flush(n);
|
||||
vhost_dev_cleanup(&n->dev);
|
||||
vhost_dev_cleanup(&n->dev, false);
|
||||
/* We do an extra flush before freeing memory,
|
||||
* since jobs can re-queue themselves. */
|
||||
vhost_test_flush(n);
|
||||
|
|
Loading…
Reference in a new issue