Re: [PATCH v19-rc2] shmem_restore needs to use ckpt_obj_try_fetch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux