restore: don't collect mounts if mntns isn't restored
Currently it is only used to get a file descriptor to the mount
namespace root, but if we have only one mntns, we can open "/".
Cc: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by:
Andrei Vagin <avagin@virtuozzo.com>
Loading
Please register or sign in to comment