[Devel] [PATCH v19-rc2] shmem_restore needs to use ckpt_obj_try_fetch
Serge E. Hallyn
serue at us.ibm.com
Wed Dec 2 14:13:49 PST 2009
Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
mm/shmem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mm/shmem.c b/mm/shmem.c
index ee64a63..caa1c6a 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -2419,7 +2419,7 @@ int shmem_restore(struct ckpt_ctx *ctx,
struct file *file;
int ret = 0;
- file = ckpt_obj_fetch(ctx, h->ino_objref, CKPT_OBJ_FILE);
+ file = ckpt_obj_try_fetch(ctx, h->ino_objref, CKPT_OBJ_FILE);
if (PTR_ERR(file) == -EINVAL)
file = NULL;
if (IS_ERR(file))
--
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