public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: master - cman: Get rid of "Disallowed" Mode.
@ 2009-02-05 10:02 Christine Caulfield
0 siblings, 0 replies; only message in thread
From: Christine Caulfield @ 2009-02-05 10:02 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=8b706f3976348fb91ea392ecb7e5f88ebc56c020
Commit: 8b706f3976348fb91ea392ecb7e5f88ebc56c020
Parent: 729d4d6350276969808a70993e0464164b7ec38e
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Thu Feb 5 09:58:16 2009 +0000
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Thu Feb 5 09:58:16 2009 +0000
cman: Get rid of "Disallowed" Mode.
According to an email I received from David Teigland this morning
we no longer need it.
I can hear the cheering from here.
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/config/cman-preconfig.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/cman/config/cman-preconfig.c b/cman/config/cman-preconfig.c
index 338d896..789f5bd 100644
--- a/cman/config/cman-preconfig.c
+++ b/cman/config/cman-preconfig.c
@@ -861,14 +861,6 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb)
objdb->object_key_create(object_handle, "votes", strlen("votes"),
tmp, strlen(tmp)+1);
-
- /* Disallowed can be disabled in cluster.conf by setting it to zero */
- objdb_get_int(objdb, object_handle, "disallowed", &tmpint, 999);
- if (tmpint == 999) { /* Value was not set by the user ... */
- objdb->object_key_create(object_handle, "disallowed", strlen("disallowed"),
- "1", strlen("1") + 1);
- }
-
if (two_node) {
objdb->object_key_create(object_handle, "two_node", strlen("two_node"),
"1", strlen("1") + 1);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-05 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-05 10:02 cluster: master - cman: Get rid of "Disallowed" Mode Christine Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).