From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: [PATCH 1/1] return the error value from read_pages_contents Date: Sat, 21 Nov 2009 14:46:34 -0600 Message-ID: <20091121204634.GA29685@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline 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: Oren Laadan Cc: Linux Containers List-Id: containers.vger.kernel.org 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; } /** -- 1.6.1