[CRIU] [PATCH 0/5] Make all file type use generic collect_fd()

Andrei Vagin avagin at virtuozzo.com
Thu Jun 1 22:58:14 MSK 2017


Applied, thanks!

On Thu, Jun 01, 2017 at 02:34:19PM +0300, Kirill Tkhai wrote:
> This patchset kills custom file types, which add fdinfo_list_entry'es
> in non-generic way, i.e. autofs. This allows to escape code duplication,
> and to have "only entry" on adding files is need for implementing
> user_ns vs files integration.
> 
> ---
> 
> Kirill Tkhai (5):
>       autofs: Delete alignment in autofs_create_fle()
>       autofs: Add FD_TYPES__AUTOFS_PIPE type
>       files: Export collect_fd()
>       files: Kill autofs_create_fle() and use generic helper
>       files: Unexport collect_task_fd()
> 
> 
>  criu/autofs.c        |   27 +++------------------------
>  criu/files.c         |    4 ++--
>  criu/include/files.h |    2 +-
>  images/fdinfo.proto  |    3 +++
>  4 files changed, 9 insertions(+), 27 deletions(-)
> 
> --
> Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>


More information about the CRIU mailing list