[CRIU] [PATCH 02/14] mntns: close_proc before clean up mounts
Pavel Emelyanov
xemul at parallels.com
Fri Jan 11 05:32:31 EST 2013
On 01/11/2013 01:22 PM, Andrey Vagin wrote:
> Because /proc could not be umounted, if any its file is opened.
How does it work now?
> 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
>
More information about the CRIU
mailing list