[CRIU] [PATCH 03/15] mntns: close_proc before clean up mounts
Pavel Emelyanov
xemul at parallels.com
Thu Jan 10 06:16:58 EST 2013
On 01/10/2013 02:00 PM, Andrey Vagin wrote:
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
> mount.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/mount.c b/mount.c
> index 1069928..843e3bb 100644
> --- a/mount.c
> +++ b/mount.c
> @@ -688,6 +688,8 @@ int prepare_mnt_ns(int ns_pid)
>
> pr_info("Restoring mount namespace\n");
>
> + close_proc();
> +
> /*
> * The new mount namespace is filled with the mountpoint
> * clones from the original one. We have to umount them
>
Why?
More information about the CRIU
mailing list