Re: [PATCH 2/2] Treat ENOMSG as TRY_AGAIN.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

On 03/05/2012 04:13 AM, Angus Salkeld wrote:
> ENOMSG is returned by the ringbuffer when you attempt to read
> a message and there is nothing there to read.
> 
> Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
> ---
>  common_lib/error_conversion.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/common_lib/error_conversion.c b/common_lib/error_conversion.c
> index cf3e672..239b14f 100644
> --- a/common_lib/error_conversion.c
> +++ b/common_lib/error_conversion.c
> @@ -52,6 +52,7 @@ cs_error_t qb_to_cs_error (int result)
>  	case ENOMEM:
>  		err = CS_ERR_NO_MEMORY;
>  		break;
> +	case ENOMSG:
>  	case ENOBUFS:
>  	case ETIMEDOUT:
>  	case EAGAIN:

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux