[Devel] Re: [PATCH 1/1] return the error value from read_pages_contents

Oren Laadan orenl at cs.columbia.edu
Wed Nov 25 10:35:52 PST 2009


Queued for v19-rc2.

Serge E. Hallyn wrote:
> Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
> ---
>  checkpoint/memory.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/checkpoint/memory.c b/checkpoint/memory.c
> index ec3603a..cfb25a3 100644
> --- a/checkpoint/memory.c
> +++ b/checkpoint/memory.c
> @@ -972,7 +972,7 @@ static int read_pages_contents(struct ckpt_ctx *ctx, struct inode *inode)
>   out:
>  	up_read(&current->mm->mmap_sem);
>  	kfree(buf);
> -	return 0;
> +	return ret;
>  }
>  
>  /**
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list