* [Cluster-devel] cluster/cman/daemon config.c
@ 2008-02-18 17:26 ccaulfield
2008-03-14 4:22 ` Fabio M. Di Nitto
0 siblings, 1 reply; 3+ messages in thread
From: ccaulfield @ 2008-02-18 17:26 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: ccaulfield at sourceware.org 2008-02-18 17:25:42
Modified files:
cman/daemon : config.c
Log message:
Allow unnamed parent objects. This fixes a bug where
<fence> entries appeared under the top-level rather than the clusternode.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/config.c.diff?cvsroot=cluster&r1=1.20&r2=1.21
--- cluster/cman/daemon/config.c 2008/01/02 16:35:44 1.20
+++ cluster/cman/daemon/config.c 2008/02/18 17:25:41 1.21
@@ -115,6 +115,10 @@
{
char subpath[1024];
+ /* Allow for empty parents */
+ if (!object_handle)
+ object_handle = parent;
+
/* Found a subkey, iterate through it's sub sections */
sprintf(subpath, "%s/%s[%d]", key, str, ++count);
if (!read_config_for(ccs_fd, objdb, object_handle, str, subpath, 0))
^ permalink raw reply [flat|nested] 3+ messages in thread* [Cluster-devel] cluster/cman/daemon config.c
2008-02-18 17:26 [Cluster-devel] cluster/cman/daemon config.c ccaulfield
@ 2008-03-14 4:22 ` Fabio M. Di Nitto
0 siblings, 0 replies; 3+ messages in thread
From: Fabio M. Di Nitto @ 2008-03-14 4:22 UTC (permalink / raw)
To: cluster-devel.redhat.com
Was this commit really ment to go to CVS?
Fabio
On Mon, 18 Feb 2008, ccaulfield at sourceware.org wrote:
> CVSROOT: /cvs/cluster
> Module name: cluster
> Changes by: ccaulfield at sourceware.org 2008-02-18 17:25:42
>
> Modified files:
> cman/daemon : config.c
>
> Log message:
> Allow unnamed parent objects. This fixes a bug where
> <fence> entries appeared under the top-level rather than the clusternode.
>
> Patches:
> http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/config.c.diff?cvsroot=cluster&r1=1.20&r2=1.21
>
> --- cluster/cman/daemon/config.c 2008/01/02 16:35:44 1.20
> +++ cluster/cman/daemon/config.c 2008/02/18 17:25:41 1.21
> @@ -115,6 +115,10 @@
> {
> char subpath[1024];
>
> + /* Allow for empty parents */
> + if (!object_handle)
> + object_handle = parent;
> +
> /* Found a subkey, iterate through it's sub sections */
> sprintf(subpath, "%s/%s[%d]", key, str, ++count);
> if (!read_config_for(ccs_fd, objdb, object_handle, str, subpath, 0))
>
--
I'm going to make him an offer he can't refuse.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Cluster-devel] cluster/cman/daemon config.c
@ 2006-08-15 13:43 pcaulfield
0 siblings, 0 replies; 3+ messages in thread
From: pcaulfield @ 2006-08-15 13:43 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-08-15 13:43:12
Modified files:
cman/daemon : config.c
Log message:
"group" should be "amf"
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/config.c.diff?cvsroot=cluster&r1=1.17&r2=1.18
--- cluster/cman/daemon/config.c 2006/06/30 13:00:27 1.17
+++ cluster/cman/daemon/config.c 2006/08/15 13:43:12 1.18
@@ -131,7 +131,7 @@
read_config_for(cd, objdb, OBJECT_PARENT_HANDLE, "logging", "logging", 1);
read_config_for(cd, objdb, OBJECT_PARENT_HANDLE, "event", "event", 1);
read_config_for(cd, objdb, OBJECT_PARENT_HANDLE, "aisexec", "aisexec", 1);
- read_config_for(cd, objdb, OBJECT_PARENT_HANDLE, "group", "group", 1);
+ read_config_for(cd, objdb, OBJECT_PARENT_HANDLE, "amf", "amf", 1);
/* This is stuff specific to us, eg quorum device timeout */
read_config_for(cd, objdb, OBJECT_PARENT_HANDLE, "cman", "cman", 1);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-14 4:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-18 17:26 [Cluster-devel] cluster/cman/daemon config.c ccaulfield
2008-03-14 4:22 ` Fabio M. Di Nitto
-- strict thread matches above, loose matches on Subject: below --
2006-08-15 13:43 pcaulfield
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).