]>
Commit | Line | Data |
---|---|---|
2949dbee JK |
1 | --- ClusterLabs-pacemaker-b5b0a7b.orig/lib/cluster/corosync.c 2012-03-28 08:14:13.000000000 +0200 |
2 | +++ ClusterLabs-pacemaker-b5b0a7b/lib/cluster/corosync.c 2012-07-01 14:38:57.297207127 +0200 | |
3 | @@ -672,7 +672,11 @@ | |
4 | ||
5 | bail: | |
6 | if(ais_ipc_handle) { | |
7 | +# if CS_USES_LIBQB | |
8 | crm_err("AIS connection failed: %p", (void*)ais_ipc_handle); | |
9 | +# else | |
10 | + crm_err("AIS connection failed: %li", (long)ais_ipc_handle); | |
11 | +# endif | |
12 | } | |
13 | return FALSE; | |
14 | } | |
15 | @@ -1075,11 +1079,10 @@ | |
16 | int rc = -1; | |
17 | int fd = 0; | |
18 | int quorate = 0; | |
19 | - uint32_t quorum_type = 0; | |
20 | ||
21 | crm_debug("Configuring Pacemaker to obtain quorum from Corosync"); | |
22 | ||
23 | - rc = quorum_initialize(&pcmk_quorum_handle, &quorum_callbacks, &quorum_type); | |
24 | + rc = quorum_initialize(&pcmk_quorum_handle, &quorum_callbacks); | |
25 | if (rc != CS_OK) { | |
26 | crm_err("Could not connect to the Quorum API: %d\n", rc); | |
27 | goto bail; | |
28 | --- ClusterLabs-pacemaker-b5b0a7b.orig/configure.ac 2012-07-01 14:27:54.000000000 +0200 | |
29 | +++ ClusterLabs-pacemaker-b5b0a7b/configure.ac 2012-07-01 14:49:25.664207127 +0200 | |
30 | @@ -1182,7 +1182,7 @@ | |
31 | fi | |
32 | ||
33 | ||
34 | -if test $SUPPORT_CS = 1 -a x$HAVE_oldipc = x0 ; then | |
35 | +if true ; then | |
36 | dnl Support for plugins was removed about the time the IPC was | |
37 | dnl moved to libqb. | |
38 | dnl The only option now is the built-in quorum API | |
39 | --- ClusterLabs-pacemaker-b5b0a7b.orig/tools/ccm_epoche.c 2012-03-28 08:14:13.000000000 +0200 | |
40 | +++ ClusterLabs-pacemaker-b5b0a7b/tools/ccm_epoche.c 2012-07-01 16:02:03.952168127 +0200 | |
41 | @@ -505,7 +505,6 @@ | |
42 | { | |
43 | int rc = 0; | |
44 | int quorate = 0; | |
45 | - uint32_t quorum_type = 0; | |
46 | unsigned int nodeid = 0; | |
47 | cpg_handle_t c_handle = 0; | |
48 | quorum_handle_t q_handle = 0; | |
49 | @@ -521,7 +520,7 @@ | |
50 | ||
51 | case 'q': | |
52 | /* Go direct to the Quorum API */ | |
53 | - rc = quorum_initialize(&q_handle, NULL, &quorum_type); | |
54 | + rc = quorum_initialize(&q_handle, NULL); | |
55 | if (rc != CS_OK) { | |
56 | crm_err("Could not connect to the Quorum API: %d\n", rc); | |
57 | return FALSE; | |
58 |