2010-06-25 14:23:00 +02:00
|
|
|
Index: ocfs2-tools/ocfs2_controld/pacemaker.c
|
|
|
|
===================================================================
|
|
|
|
--- ocfs2-tools.orig/ocfs2_controld/pacemaker.c
|
|
|
|
+++ ocfs2-tools/ocfs2_controld/pacemaker.c
|
2011-12-16 13:11:25 +01:00
|
|
|
@@ -30,7 +30,9 @@
|
|
|
|
#include <pacemaker/crm/crm.h>
|
2010-06-25 14:23:00 +02:00
|
|
|
#include <pacemaker/crm/ais.h>
|
|
|
|
#include <pacemaker/crm/common/cluster.h>
|
2011-12-16 13:11:25 +01:00
|
|
|
-#include <pacemaker/crm/common/stack.h>
|
|
|
|
+#include <pacemaker/crm/cluster/stack.h>
|
2009-02-10 12:13:29 +01:00
|
|
|
+#include <pacemaker/crm/common/ipc.h>
|
|
|
|
+#include <pacemaker/crm/msg_xml.h>
|
|
|
|
|
|
|
|
#include "ocfs2-kernel/kernel-list.h"
|
|
|
|
#include "o2cb/o2cb.h"
|
2010-08-20 14:46:27 +02:00
|
|
|
@@ -155,7 +157,7 @@ int setup_stack(void)
|
|
|
|
crm_log_init("ocfs2_controld", LOG_INFO, FALSE, TRUE, 0, NULL);
|
2009-02-10 12:13:29 +01:00
|
|
|
|
2010-06-25 14:23:00 +02:00
|
|
|
if(init_ais_connection(NULL, NULL, NULL, &local_node_uname, &our_nodeid) == FALSE) {
|
|
|
|
- log_error("Connection to our AIS plugin (%d) failed", CRM_SERVICE);
|
|
|
|
+ log_error("Connection to our AIS plugin (CRM) failed");
|
|
|
|
return -1;
|
|
|
|
}
|
2009-02-10 12:13:29 +01:00
|
|
|
|