public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: master - cman: Get rid of "Disallowed" Mode.
Date: Thu, 05 Feb 2009 10:02:00 -0000	[thread overview]
Message-ID: <20090205100001.88E711205B9@lists.fedorahosted.org> (raw)

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);


                 reply	other threads:[~2009-02-05 10:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090205100001.88E711205B9@lists.fedorahosted.org \
    --to=chrissie@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).