Hello community,

here is the log from the commit of package libdlm for openSUSE:Factory checked 
in at 2012-06-26 16:06:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdlm (Old)
 and      /work/SRC/openSUSE:Factory/.libdlm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdlm", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdlm/libdlm.changes    2012-05-26 
09:26:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libdlm.new/libdlm.changes       2012-06-26 
16:06:56.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Jun 23 07:21:44 UTC 2012 - [email protected]
+
+- dlm_controld: Replace use of crm_is_member_active() with the new 
+  crm_is_peer_active() from pacemaker > 1.1.7
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libdlm-pacemaker.patch ++++++
--- /var/tmp/diff_new_pack.LXUSof/_old  2012-06-26 16:06:57.000000000 +0200
+++ /var/tmp/diff_new_pack.LXUSof/_new  2012-06-26 16:06:57.000000000 +0200
@@ -1,4 +1,6 @@
---- group/dlm_controld/pacemaker.c
+Index: group/dlm_controld/pacemaker.c
+===================================================================
+--- group/dlm_controld/pacemaker.c.orig
 +++ group/dlm_controld/pacemaker.c
 @@ -16,7 +16,7 @@
  #undef SUPPORT_HEARTBEAT 
@@ -9,3 +11,30 @@
  #include <pacemaker/crm/common/ipc.h>
  #include <pacemaker/crm/msg_xml.h>
  #include <pacemaker/crm/cib.h>
+@@ -117,7 +117,7 @@ void dlm_process_node(gpointer key, gpoi
+     snprintf(path, PATH_MAX, "%s/%d", COMMS_DIR, node->id);
+ 
+     rc = stat(path, &tmp);
+-    is_active = crm_is_member_active(node);
++    is_active = crm_is_peer_active(node);
+     
+     if(rc == 0 && is_active) {
+       /* nothing to do?
+@@ -205,7 +205,7 @@ void dlm_process_node(gpointer key, gpoi
+     }
+ 
+     log_debug("%s %sctive node %u: born-on=%llu, last-seen=%llu, 
this-event=%llu, last-event=%llu",
+-             action, crm_is_member_active(value)?"a":"ina",
++             action, crm_is_peer_active(value)?"a":"ina",
+              node->id, node->born, node->last_seen,
+              crm_peer_seq, (unsigned long long)*last);
+ }
+@@ -213,7 +213,7 @@ void dlm_process_node(gpointer key, gpoi
+ int is_cluster_member(uint32_t nodeid)
+ {
+     crm_node_t *node = crm_get_peer(nodeid, NULL);
+-    return crm_is_member_active(node);
++    return crm_is_peer_active(node);
+ }
+ 
+ char *nodeid2name(int nodeid) {

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to