* [PATCH] vhost_test: fix compile breakage
@ 2012-04-09 8:30 zwu.kernel
2012-04-09 8:44 ` Michael S. Tsirkin
0 siblings, 1 reply; 2+ messages in thread
From: zwu.kernel @ 2012-04-09 8:30 UTC (permalink / raw)
To: linux-kernel; +Cc: mst, stefanha, Zhi Yong Wu
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vhost_test: fix compile breakage
2012-04-09 8:30 [PATCH] vhost_test: fix compile breakage zwu.kernel
@ 2012-04-09 8:44 ` Michael S. Tsirkin
0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2012-04-09 8:44 UTC (permalink / raw)
To: zwu.kernel; +Cc: linux-kernel, stefanha, Zhi Yong Wu
On Mon, Apr 09, 2012 at 04:30:56PM +0800, zwu.kernel@gmail.com wrote:
> 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>
Applied, thanks.
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-09 8:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-09 8:30 [PATCH] vhost_test: fix compile breakage zwu.kernel
2012-04-09 8:44 ` Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).