2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 22:35:33 +00:00

revert 246367e4e4 "add walk_all flag to walk_namespaces"

We no longer need to populate ext_ns->mnt.mntinfo_list until
resolve_external_mounts(). We can rely on find_ext_ns_id() which
does collect_mntinfo() on demand.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Tested-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Oleg Nesterov
2015-04-14 18:54:08 +02:00
committed by Pavel Emelyanov
parent 42625eac0e
commit 745f845fa8
4 changed files with 6 additions and 11 deletions

2
net.c
View File

@@ -873,7 +873,7 @@ static int collect_net_ns(struct ns_id *ns, void *oarg)
int collect_net_namespaces(bool for_dump)
{
return walk_namespaces(&net_ns_desc, false, collect_net_ns,
return walk_namespaces(&net_ns_desc, collect_net_ns,
(void *)(for_dump ? 1UL : 0));
}