lkml.org 
[lkml]   [2012]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] vhost_test: fix compile breakage
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


\
 
 \ /
  Last update: 2012-04-09 10:47    [W:0.379 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site