Skip to content

Commit

Permalink
tools/virtio: fix up vhost/test module build
Browse files Browse the repository at this point in the history
commit ea5d404
broke build for the vhost test module used
by tools/virtio. Fix it up.

Signed-off-by: Zhi Yong Wu <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
Zhi Yong Wu authored and mstsirkin committed Apr 12, 2012
1 parent 0034102 commit 5e7045b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/vhost/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5e7045b

Please sign in to comment.