[CRIU] [PATCH 08/10] mount: prevent dumping mounts, if they can't be restored (v2)

Pavel Emelyanov xemul at parallels.com
Thu Aug 29 08:39:44 EDT 2013


> @@ -1115,6 +1183,9 @@ static int populate_mnt_ns(int ns_pid)
>  	if (!pms)
>  		return -1;
>  
> +	if (validate_mounts(pms))

Why not put this call into collect_shared()?

> +		return -1;
> +
>  	return mnt_tree_for_each(pms, do_mount_one);
>  err:
>  	while (pms) {
> 




More information about the CRIU mailing list