tools/virtio: fix up vhost/test module build
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Mon, 9 Apr 2012 07:42:13 +0000 (10:42 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 12 Apr 2012 07:35:42 +0000 (10:35 +0300)
commit ea5d404655ba3b356d0c06d6a3c4f24112124522
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>
drivers/vhost/test.c

index fc9a1d7..3de00d9 100644 (file)
@@ -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);