Sfoglia il codice sorgente

defect 595
There are various bugs with saCkptCheckpointOpenAsync that result in it
crashing the executive, library, or just failing the saftest conformance
suite..

(Logical change 1.200)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@651 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 21 anni fa
parent
commit
08f94a5835
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      include/ipc_ckpt.h

+ 4 - 1
include/ipc_ckpt.h

@@ -102,6 +102,7 @@ struct req_lib_ckpt_checkpointopen {
 	struct req_header header;
 	SaNameT checkpointName;
 	SaCkptCheckpointCreationAttributesT checkpointCreationAttributes;
+	int checkpointCreationAttributesSet;
 	SaCkptCheckpointOpenFlagsT checkpointOpenFlags;
 };
 
@@ -115,6 +116,7 @@ struct req_exec_ckpt_checkpointopen {
 	struct req_lib_ckpt_checkpointopen req_lib_ckpt_checkpointopen;
 	SaCkptCheckpointHandleT checkpointHandle;
 	SaInvocationT invocation;
+	int async_call;
 };
 
 
@@ -122,9 +124,10 @@ struct req_lib_ckpt_checkpointopenasync {
 	struct req_header header;
 	SaNameT checkpointName;
 	SaCkptCheckpointCreationAttributesT checkpointCreationAttributes;
+	int checkpointCreationAttributesSet;
 	SaCkptCheckpointOpenFlagsT checkpointOpenFlags;
-	SaCkptCheckpointHandleT checkpointHandle;
 	SaInvocationT invocation;
+	SaCkptCheckpointHandleT checkpointHandle;
 };
 
 struct res_lib_ckpt_checkpointopenasync {