[CRIU] [PATCH 2/2] lock: parse the lock field in fdinfo if it's avaliable (v2)

Pavel Emelyanov xemul at parallels.com
Mon Apr 27 04:53:57 PDT 2015


On 04/24/2015 02:49 PM, Andrey Vagin wrote:

> @@ -225,7 +225,7 @@ static int fill_fd_params(struct parasite_ctl *ctl, int fd, int lfd,
>  		return -1;
>  	}
>  
> -	if (parse_fdinfo(lfd, FD_TYPES__UND, NULL, &fdinfo))
> +	if (parse_fdinfo_pid(ctl->pid.real, fd, FD_TYPES__UND, NULL, &fdinfo))
>  		return -1;
>  
>  	p->fs_type	= fsbuf.f_type;

OK, applied. I think we now can relax the amount of fds we drain from parasite, can't we?


More information about the CRIU mailing list