Commit 92ee1233 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

mntns: don't dump criu's namespace

Reported-by: Mr Jenkins
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 606bc93a
......@@ -2143,6 +2143,9 @@ int dump_mnt_namespaces(void)
if (nsid->nd != &mnt_ns_desc)
continue;
if (nsid->pid == getpid())
continue;
if (++n == 2 && check_mnt_id()) {
pr_err("Nested mount namespaces are not supported "
"without mnt_id in fdinfo\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment