vhost_test: fix compile breakage
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.
Signed-off-by Zhi Yong Wu <[email protected]>
--- drivers/vhost/test.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/vhost/test.c +1 -1
@@ -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
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_cleanuphas been changed. Sotest.cneed to be changed accordingly.Signed-off-by Zhi Yong Wu <[email protected]>
Applied, thanks.
Quoted 19 lines
--- drivers/vhost/test.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/vhost/test.c +1
-1@@ -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