mntns: don't dump criu's namespace

Reported-by: Mr Jenkins
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin 2014-09-24 16:49:00 +04:00 committed by Pavel Emelyanov
parent 606bc93a1a
commit 92ee123386

View file

@ -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");