[CRIU] [PATCH 2/7] files: Add fill_fdlink helper

Cyrill Gorcunov gorcunov at openvz.org
Thu May 9 16:13:13 EDT 2013


On Thu, May 09, 2013 at 11:33:38PM +0400, Pavel Emelyanov wrote:
> 
> I see. Let's change the workflow:
> 
> dump_one_reg_file should look like
> 
>    read_fd_link()
>    do_dump_one_reg_file
> 
> regfile_ops->dump should point to do_dump_one_reg_file
> 
> dump_reg_file should do
> 
>    read_fd_link()
> 
>    if (proc_ns)
>          dump_gen_file(proc_ns_ops)
>    else
>          dump_gen_file(regfile_ops)

OK


More information about the CRIU mailing list