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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Queued for v19-rc2.

Serge E. Hallyn wrote:
> Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux