[Linux-cluster] [PATCH] Fix cman_get_node_id in qdisk.

Patrick Caulfield pcaulfie at redhat.com
Fri Jan 5 10:35:22 UTC 2007


Patrick Caulfield wrote:
> Simone Gotti wrote:
>> Hi all,
>>
>>
>> testing the qdiskd provided by the new openais cman-2.0.35-2 (on RHEL5
>> Beta 2) I found that it would no start with the following error:
>>
>> Could not determine local node ID; cannot start
>>
>>
>> Looking at the code of the other programs that connects to cman I
>> noticed that before the call libcman function:
>> cman_get_node(cman_handle_t handle, int nodeid, cman_node_t *node), 
>> they are inizialing with all zeros the third argument, so I did the same
>> with qdiskd and it worked.
>>
>> Looking at the cvs repository I didn't find a fix for it.
>> A patch is attached. 
>>
> 
> Yes, that patch look correct to me.
> 
> Thanks


Now in CVS.


-- 

patrick




More information about the Linux-cluster mailing list