From: teigland@sourceware.org <teigland@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman-kernel/src sm_joinleave.c
Date: 25 Sep 2006 15:24:36 -0000 [thread overview]
Message-ID: <20060925152436.32528.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: STABLE
Changes by: teigland at sourceware.org 2006-09-25 15:24:36
Modified files:
cman-kernel/src: sm_joinleave.c
Log message:
return an error when the global_id counter hits the max
(sync with RHEL4 branch)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman-kernel/src/sm_joinleave.c.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.2&r2=1.2.8.1
--- cluster/cman-kernel/src/Attic/sm_joinleave.c 2004/08/18 06:54:16 1.2
+++ cluster/cman-kernel/src/Attic/sm_joinleave.c 2006/09/25 15:24:35 1.2.8.1
@@ -247,6 +247,8 @@
} else if (!pos && !wait && !restart && neg) {
/* we're the first in the cluster to join this sg */
sev->se_sg->global_id = sm_new_global_id(sev->se_sg->level);
+ if (sev->se_sg->global_id == 0)
+ error = -EOVERFLOW;
} else
error = -1;
reply other threads:[~2006-09-25 15:24 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=20060925152436.32528.qmail@sourceware.org \
--to=teigland@sourceware.org \
/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 NNTP newsgroup(s).