[Devel] [PATCH 1/1] return the error value from read_pages_contents
Serge E. Hallyn
serue at us.ibm.com
Sat Nov 21 12:46:34 PST 2009
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(¤t->mm->mmap_sem);
kfree(buf);
- return 0;
+ return ret;
}
/**
--
1.6.1
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list