This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: master - cman: Make API calls work on an inquorate system
- From: Christine Caulfield <chrissie at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Mon, 5 Jan 2009 14:45:53 +0000 (UTC)
- Subject: cluster: master - cman: Make API calls work on an inquorate system
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=490f419fe052d6490606b23e40280897da8999d7
Commit: 490f419fe052d6490606b23e40280897da8999d7
Parent: 1e515e395839657563153c2e9406ecef71ee991d
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Mon Jan 5 14:45:24 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Mon Jan 5 14:45:24 2009 +0000
cman: Make API calls work on an inquorate system
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/services/cman/services/cman.c | 1 +
cman/services/quorum/services/cmanquorum.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cman/services/cman/services/cman.c b/cman/services/cman/services/cman.c
index e53e330..8083ace 100644
--- a/cman/services/cman/services/cman.c
+++ b/cman/services/cman/services/cman.c
@@ -145,6 +145,7 @@ static struct corosync_service_engine cman_service_handler = {
.name = "corosync cluster cman service v3.01",
.id = CMAN_SERVICE,
.private_data_size = sizeof (struct cman_pd),
+ .allow_inquorate = CS_LIB_ALLOW_INQUORATE,
.flow_control = COROSYNC_LIB_FLOW_CONTROL_REQUIRED,
.lib_init_fn = cman_lib_init_fn,
.lib_exit_fn = cman_lib_exit_fn,
diff --git a/cman/services/quorum/services/cmanquorum.c b/cman/services/quorum/services/cmanquorum.c
index 1fc5ac7..4a58f6b 100644
--- a/cman/services/quorum/services/cmanquorum.c
+++ b/cman/services/quorum/services/cmanquorum.c
@@ -288,6 +288,7 @@ static struct corosync_service_engine quorum_service_handler = {
.name = "corosync cman quorum service v0.90",
.id = CMANQUORUM_SERVICE,
.private_data_size = sizeof (struct quorum_pd),
+ .allow_inquorate = CS_LIB_ALLOW_INQUORATE,
.flow_control = COROSYNC_LIB_FLOW_CONTROL_REQUIRED,
.lib_init_fn = quorum_lib_init_fn,
.lib_exit_fn = quorum_lib_exit_fn,