[CRIU] Re: [PATCH 10/12] dump: files tree - compare callbacks introduced

Pavel Emelyanov xemul at parallels.com
Fri Mar 23 16:54:06 EDT 2012


On 03/23/2012 08:24 PM, Kinsbursky Stanislav wrote:
> From: Stanislav Kinsbursky <skinsbursky at openvz.org>
> 
> Kcmp syscall doesnt' suits vma files. Looks like currently generating ID is
> enough. Thus no additonal check required in case of mapping files.
> 
> Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
> ---
>  file-ids.c |   23 ++++++++++++++++++++---
>  1 files changed, 20 insertions(+), 3 deletions(-)

The if (!fd_is_special()) check in dump_one_reg_file prevents types
other than FDINFO_REG from passing into this function.


More information about the CRIU mailing list