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/31663Signed-off-by:Andrei Vagin <avagin@virtuozzo.com>
Showing
Please
register
or
sign in
to comment