Messages in this thread Patch in this message | | | From | zwu.kernel@gmail ... | Subject | [PATCH] vhost_test: fix compile breakage | Date | Mon, 9 Apr 2012 16:30:56 +0800 |
| |
From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
The arguments of vhost_dev_cleanup has been changed. So test.c need to be changed accordingly.
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> --- drivers/vhost/test.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c index fc9a1d7..3de00d9 100644 --- a/drivers/vhost/test.c +++ b/drivers/vhost/test.c @@ -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); -- 1.7.6
| |