[CRIU] [PATCH] page server: Don't hide error from flush request

Andrew Vagin avagin at parallels.com
Fri Nov 21 05:30:57 PST 2014


Acked-by: Andrew Vagin <avagin at parallels.com>

On Fri, Nov 21, 2014 at 04:23:54PM +0400, Pavel Emelyanov wrote:
> Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
> 
> ---
> 
> diff --git a/page-xfer.c b/page-xfer.c
> index 1a1fc00..2f6c673 100644
> --- a/page-xfer.c
> +++ b/page-xfer.c
> @@ -221,6 +221,8 @@ static int page_server_serve(int sk)
>  		{
>  			int32_t status = 0;
>  
> +			ret = 0;
> +
>  			/*
>  			 * An answer must be sent back to inform another side,
>  			 * that all data were received
> @@ -231,7 +233,6 @@ static int page_server_serve(int sk)
>  			}
>  
>  			flushed = true;
> -			ret = 0;
>  			break;
>  		}
>  		default:
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list