cluster: RHEL59 - fenced: increase MAX_DEVICES to 8

David Teigland teigland at fedoraproject.org
Mon Jul 23 21:36:52 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=6c9717cbbca38ee94911cbbc481c310f6375d560
Commit:        6c9717cbbca38ee94911cbbc481c310f6375d560
Parent:        b5253b0c74175ecda233f573fb0afa733b60eda2
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Mon Jul 23 10:23:56 2012 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Mon Jul 23 16:36:44 2012 -0500

fenced: increase MAX_DEVICES to 8

Make this match rhel6.

bz 821857

Signed-off-by: David Teigland <teigland at redhat.com>
---
 fence/fenced/agent.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/fenced/agent.c b/fence/fenced/agent.c
index e3aab9a..753b915 100644
--- a/fence/fenced/agent.c
+++ b/fence/fenced/agent.c
@@ -27,7 +27,7 @@
 #include "ccs.h"
 
 #define MAX_METHODS		8
-#define MAX_DEVICES		4
+#define MAX_DEVICES		8
 #define MAX_AGENT_ARGS_LEN	512
 
 #define METHOD_NAME_PATH        "/cluster/clusternodes/clusternode[@name=\"%s\"]/fence/method[%d]/@name"


More information about the cluster-commits mailing list