Skip to content

Commit 5e7045b

Browse files
Zhi Yong Wumstsirkin
authored andcommitted
tools/virtio: fix up vhost/test module build
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]>
1 parent 0034102 commit 5e7045b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/vhost/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ static int vhost_test_release(struct inode *inode, struct file *f)
155155

156156
vhost_test_stop(n, &private);
157157
vhost_test_flush(n);
158-
vhost_dev_cleanup(&n->dev);
158+
vhost_dev_cleanup(&n->dev, false);
159159
/* We do an extra flush before freeing memory,
160160
* since jobs can re-queue themselves. */
161161
vhost_test_flush(n);

0 commit comments

Comments
 (0)