]> git.proxmox.com Git - mirror_corosync.git/commitdiff
The creation attributes set bit wasn't set from the library to executive
authorSteven Dake <sdake@redhat.com>
Sun, 16 Jul 2006 21:50:39 +0000 (21:50 +0000)
committerSteven Dake <sdake@redhat.com>
Sun, 16 Jul 2006 21:50:39 +0000 (21:50 +0000)
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

exec/ckpt.c

index 408bb274947644a3044b56356782b325c895178c..b4c1c52feb2f3aeed83a51042d96acab4ff95f09 100644 (file)
@@ -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 =