mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-05 00:35:23 +00:00
mount: separate collect_mnt_ns from dump_mnt_ns
We are going to support nested mntns, so the global mntinfo_tree variable are useless and information about tree should be connected to a proper namespace. But when we don't dump mntns, we need to collect mounts for the current mntns. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
9625ebe596
commit
e827a695f3
@@ -40,6 +40,7 @@ extern unsigned long root_ns_mask;
|
||||
extern const struct fdtype_ops nsfile_dump_ops;
|
||||
extern struct collect_image_info nsfile_cinfo;
|
||||
|
||||
extern int collect_mnt_namespaces(void);
|
||||
extern int dump_mnt_namespaces(void);
|
||||
extern int dump_namespaces(struct pstree_item *item, unsigned int ns_flags);
|
||||
extern int prepare_namespace(struct pstree_item *item, unsigned long clone_flags);
|
||||
|
Reference in New Issue
Block a user