فهرست منبع

The creation attributes set bit wasn't set from the library to executive
message handlers causing significant problems with open was called from a app.


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

Steven Dake 19 سال پیش
والد
کامیت
1af43fd206
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      exec/ckpt.c

+ 3 - 0
exec/ckpt.c

@@ -1750,6 +1750,7 @@ static void message_handler_req_exec_ckpt_checkpointopen (
 
 	log_printf (LOG_LEVEL_DEBUG, "Executive request to open checkpoint %p\n", req_exec_ckpt_checkpointopen);
 	
+printf ("opening checkpoint %s\n", req_exec_ckpt_checkpointopen->checkpoint_name.value);
 	if (req_exec_ckpt_checkpointopen->fail_with_error != SA_AIS_OK) {
 		error = req_exec_ckpt_checkpointopen->fail_with_error;
 		goto error_exit;
@@ -3309,6 +3310,8 @@ static void message_handler_req_lib_ckpt_checkpointopen (
 	memcpy (&req_exec_ckpt_checkpointopen.checkpoint_creation_attributes,
 		&req_lib_ckpt_checkpointopen->checkpoint_creation_attributes,
 		sizeof (mar_ckpt_checkpoint_creation_attributes_t));
+	req_exec_ckpt_checkpointopen.checkpoint_creation_attributes_set =
+		req_lib_ckpt_checkpointopen->checkpoint_creation_attributes_set;
 	req_exec_ckpt_checkpointopen.checkpoint_open_flags = 
 		req_lib_ckpt_checkpointopen->checkpoint_open_flags;
 	req_exec_ckpt_checkpointopen.invocation =