[CRIU] [PATCH 09/11] log: files-ext -- Show exactly which file can't be dumped

Pavel Emelyanov xemul at virtuozzo.com
Thu Aug 4 07:08:54 PDT 2016


On 08/02/2016 06:34 PM, Cyrill Gorcunov wrote:
> From: Cyrill Gorcunov <gorcunov at virtuozzo.com>

Doesn't this f4536f8b34dc797b87e4101d7ba7701a1a2bee72 commit already do it?

> Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
> ---
>  criu/files-ext.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/criu/files-ext.c b/criu/files-ext.c
> index 4c129fa64f0d..db375becd4f2 100644
> --- a/criu/files-ext.c
> +++ b/criu/files-ext.c
> @@ -87,7 +87,7 @@ int dump_unsupp_fd(struct fd_parms *p, int lfd,
>  	if (ret == 0)
>  		return 0;
>  	if (ret == -ENOTSUP)
> -		pr_err("Can't dump file %d of that type [%o] (%s %s)\n",
> -			p->fd, p->stat.st_mode, more, info);
> +		pr_err("Can't dump file %d (%s) of that type [%o] (%s %s)\n",
> +			p->fd, __read_fd_link(lfd), p->stat.st_mode, more, info);
>  	return -1;
>  }
> 



More information about the CRIU mailing list