If the ipc system in checkpoint open fails to transmit a message, a
random error code is returned.

This patch fixes that problem.

Regards
-steve
Index: lib/ckpt.c
===================================================================
--- lib/ckpt.c	(revision 2052)
+++ lib/ckpt.c	(working copy)
@@ -624,6 +624,10 @@
 		&res_lib_ckpt_checkpointopen,
 		sizeof (struct res_lib_ckpt_checkpointopen));
 
+	if (error != SA_AIS_OK) {
+		goto error_put_destroy;
+	}
+
 	if (res_lib_ckpt_checkpointopen.header.error != SA_AIS_OK) {
 		error = res_lib_ckpt_checkpointopen.header.error;
 		goto error_put_destroy;
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to