[PATCH 3/5] Treat ENOBUFS as TRY_AGAIN

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

 



Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
---
 common_lib/error_conversion.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/common_lib/error_conversion.c b/common_lib/error_conversion.c
index d3383c0..e27f63c 100644
--- a/common_lib/error_conversion.c
+++ b/common_lib/error_conversion.c
@@ -18,6 +18,7 @@ cs_error_t qb_to_cs_error (int result)
 	case ENOMEM:
 		err = CS_ERR_NO_MEMORY;
 		break;
+	case ENOBUFS:
 	case ETIMEDOUT:
 	case EAGAIN:
 		err = CS_ERR_TRY_AGAIN;
@@ -43,9 +44,6 @@ cs_error_t qb_to_cs_error (int result)
 	case EEXIST:
 		err = CS_ERR_EXIST;
 		break;
-	case ENOBUFS:
-		err = CS_ERR_QUEUE_FULL;
-		break;
 	case ENOSPC:
 		err = CS_ERR_NO_SPACE;
 		break;
-- 
1.7.7.6

_______________________________________________
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