Skip to contentSkip to conversation

rgmanager: Fix clusvcadm message when run with -F [RHEL6]

PATCH New Lon Hohberger 2 participants 2 messages Feb 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rgmanager: Fix clusvcadm message when run with -F [RHEL6]

The new_owner was not being correctly set when enabling a service with -F when run without central processing enabled.

Resolves: rhbz#727326

---
 rgmanager/src/daemons/rg_state.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
rgmanager/src/daemons/rg_state.c +1 -0
index 5501b3f..23a4bec 100644
@@ -2293,6 +2293,7 @@ handle_fd_start_req(char *svcName, int request, int *new_owner)
 
 		switch(ret) {
 		case RG_ESUCCESS:
+			*new_owner = target;
 		    	ret = RG_ESUCCESS;
 			goto out;
 		case RG_ERUN:
Signature · 1 line
1.7.7.6
#1 lore raw

PATCH 1/1 rgmanager: Fix clusvcadm message when run with -F [RHEL6]

ACK

Quoted 22 lines · Lon Hohberger

The new_owner was not being correctly set when enabling a service with -F when run without central processing enabled.

Resolves: rhbz#727326

---
 rgmanager/src/daemons/rg_state.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
rgmanager/src/daemons/rg_state.c +1 -0
index 5501b3f..23a4bec 100644
@@ -2293,6 +2293,7 @@ handle_fd_start_req(char *svcName, int request, int *new_owner)
 
 		switch(ret) {
 		case RG_ESUCCESS:
+			*new_owner = target;
 		    	ret = RG_ESUCCESS;
 			goto out;
 		case RG_ERUN: