mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
mnt: Don't treat ns roots as special when restoring
Namespace roots might be slave ones from another namespace roots, so we should not treat them as "always ready" for mounting but rely on general logic in can_mount_now which tests slaves relations. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Andrew Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
c3e88444d8
commit
ad56fb3c81
1 changed files with 0 additions and 2 deletions
2
mount.c
2
mount.c
|
|
@ -2068,8 +2068,6 @@ static bool can_mount_now(struct mount_info *mi)
|
|||
/* The root mount */
|
||||
if (!mi->parent)
|
||||
return true;
|
||||
if (mi->is_ns_root)
|
||||
return true;
|
||||
|
||||
if (mi->external)
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue