mount: don't collect mounts when they are not required
Currently we collect mounts to clean up a mount namespace, but it isn't required when we are going to call pivot_root. https://github.com/docker/docker/issues/31663 Signed-off-by:Andrei Vagin <avagin@virtuozzo.com>
Loading
Please register or sign in to comment