[CRIU] [PATCH 4/4] mount: open_mount uses __open_mountpoint instead of own logic

Andrey Vagin avagin at openvz.org
Tue Apr 15 22:04:23 PDT 2014


Now we have two funсtions which do mostly the same, so this patch merges them.

Andrey Vagin (4):
  servicefd: add a service fd for current root
  mount: open_mountpoint returns a file descriptro
  mount: fix comparison of stat.st_dev and mount_info->s_dev (v2)
  mount: open_mount uses __open_mountpoint instead of own logic

 cr-restore.c        |  4 +++
 files-reg.c         | 10 +++++-
 include/mount.h     |  1 -
 include/servicefd.h |  1 +
 irmap.c             | 10 +++++-
 mount.c             | 97 ++++++++++++++++++++++-------------------------------
 sk-unix.c           |  3 ++
 7 files changed, 66 insertions(+), 60 deletions(-)

-- 
1.8.5.3



More information about the CRIU mailing list