[Cluster-devel] cluster/rgmanager/src/daemons rg_state.c

[email protected] <[email protected]>
Newsgroups com.redhat.cluster-devel
Message-ID <[email protected]>
CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL51
Changes by:	lhh at sourceware.org	2008-01-25 16:04:51

Modified files:
	rgmanager/src/daemons: rg_state.c 

Log message:
	Fix 430220 - clusvcadm -e -m / -Fe not working on RHEL 5.1

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_state.c.diff?cvsroot=cluster&only_with_tag=RHEL51&r1=1.24.2.10.2.3&r2=1.24.2.10.2.4

--- cluster/rgmanager/src/daemons/rg_state.c	2007/08/30 16:05:14	1.24.2.10.2.3
+++ cluster/rgmanager/src/daemons/rg_state.c	2008/01/25 16:04:51	1.24.2.10.2.4
@@ -684,7 +684,7 @@
 	
 	case RG_STATE_DISABLED:
 	case RG_STATE_UNINITIALIZED:
-		if (req == RG_ENABLE) {
+		if (req == RG_ENABLE || req == RG_START_REMOTE) {
 			/* Don't actually enable if the RG is locked! */
 			if (rg_locked()) {
 				ret = 3;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.