Signed-off-by: Serge E. Hallyn <[email protected]>
---
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
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel