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

Kirill Tkhai ktkhai at virtuozzo.com
Thu Jun 1 04:34:19 PDT 2017


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