* [PATCH v19-rc2] shmem_restore needs to use ckpt_obj_try_fetch
@ 2009-12-02 22:13 Serge E. Hallyn
[not found] ` <20091202221349.GA15335-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2009-12-02 22:13 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v19-rc2] shmem_restore needs to use ckpt_obj_try_fetch
[not found] ` <20091202221349.GA15335-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2009-12-03 0:16 ` Oren Laadan
0 siblings, 0 replies; 2+ messages in thread
From: Oren Laadan @ 2009-12-03 0:16 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: Linux Containers
Oh, we missed it when introducing ckpt_obj_try_fetch()...
Adding now.
thanks,
Oren.
Serge E. Hallyn wrote:
> Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> ---
> 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))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-03 0:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02 22:13 [PATCH v19-rc2] shmem_restore needs to use ckpt_obj_try_fetch Serge E. Hallyn
[not found] ` <20091202221349.GA15335-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-12-03 0:16 ` Oren Laadan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.