[Devel] Re: [PATCH v19-rc2] shmem_restore needs to use ckpt_obj_try_fetch
Oren Laadan
orenl at cs.columbia.edu
Wed Dec 2 16:16:50 PST 2009
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 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))
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list