Skip to contentSkip to conversation

vhost_test: fix compile breakage

PATCH Applied [email protected] 2 participants 2 messages Apr 9, 2012 virtio host (vhost)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vhost_test: fix compile breakage

From: Zhi Yong Wu <[email protected]>

The arguments of vhost_dev_cleanup has been changed. So test.c need to be changed accordingly.

---
 drivers/vhost/test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/vhost/test.c +1 -1
index fc9a1d7..3de00d9 100644
@@ -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);
Signature · 1 line
1.7.6
maintainer Applied
#1 lore raw
Quoted 5 lines · On Mon, Apr 09, 2012 at 04:30:56PM +0800, [email protected] wrote:

From: Zhi Yong Wu <[email protected]>

The arguments of vhost_dev_cleanup has been changed. So test.c need to be changed accordingly.

Applied, thanks.

Quoted 19 lines
---
 drivers/vhost/test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/vhost/test.c +1 -1
index fc9a1d7..3de00d9 100644
@@ -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);
Signature · 1 line
1.7.6