Linux Container Development
 help / color / mirror / Atom feed
* [PATCH 1/1] return the error value from read_pages_contents
@ 2009-11-21 20:46 Serge E. Hallyn
       [not found] ` <20091121204634.GA29685-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2009-11-21 20:46 UTC (permalink / raw)
  To: Oren Laadan; +Cc: Linux Containers

Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
 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;
 }
 
 /**
-- 
1.6.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-25 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 20:46 [PATCH 1/1] return the error value from read_pages_contents Serge E. Hallyn
     [not found] ` <20091121204634.GA29685-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-11-25 18:35   ` Oren Laadan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox