From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oren Laadan Subject: Re: [PATCH 1/1] return the error value from read_pages_contents Date: Wed, 25 Nov 2009 13:35:52 -0500 Message-ID: <4B0D7908.9040001@cs.columbia.edu> References: <20091121204634.GA29685@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091121204634.GA29685-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Serge E. Hallyn" Cc: Linux Containers List-Id: containers.vger.kernel.org Queued for v19-rc2. Serge E. Hallyn wrote: > Signed-off-by: Serge E. Hallyn > --- > 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(¤t->mm->mmap_sem); > kfree(buf); > - return 0; > + return ret; > } > > /**