Skip to content
Commit bd69c617 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

mount: Free old mounts for pivot-root case



If we specify a new root for restore old mounts get destroyed
with pivot_root + umount calls, tree umount is omitted. In this
case mi-s are leaked.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent f35d7cd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment