cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] rgmanager: Fix clusvcadm message when run with -F [RHEL6]
@ 2012-02-21 18:53 Lon Hohberger
  2012-02-21 19:43 ` Fabio M. Di Nitto
  0 siblings, 1 reply; 2+ messages in thread
From: Lon Hohberger @ 2012-02-21 18:53 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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

Resolves: rhbz#727326

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/src/daemons/rg_state.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/rgmanager/src/daemons/rg_state.c b/rgmanager/src/daemons/rg_state.c
index 5501b3f..23a4bec 100644
--- a/rgmanager/src/daemons/rg_state.c
+++ b/rgmanager/src/daemons/rg_state.c
@@ -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:
-- 
1.7.7.6



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Cluster-devel] [PATCH] rgmanager: Fix clusvcadm message when run with -F [RHEL6]
  2012-02-21 18:53 [Cluster-devel] [PATCH] rgmanager: Fix clusvcadm message when run with -F [RHEL6] Lon Hohberger
@ 2012-02-21 19:43 ` Fabio M. Di Nitto
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio M. Di Nitto @ 2012-02-21 19:43 UTC (permalink / raw)
  To: cluster-devel.redhat.com

ACK

On 02/21/2012 07:53 PM, Lon Hohberger wrote:
> The new_owner was not being correctly set when enabling a service with
> -F when run without central processing enabled.
> 
> Resolves: rhbz#727326
> 
> Signed-off-by: Lon Hohberger <lhh@redhat.com>
> ---
>  rgmanager/src/daemons/rg_state.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/rgmanager/src/daemons/rg_state.c b/rgmanager/src/daemons/rg_state.c
> index 5501b3f..23a4bec 100644
> --- a/rgmanager/src/daemons/rg_state.c
> +++ b/rgmanager/src/daemons/rg_state.c
> @@ -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:



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-21 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-21 18:53 [Cluster-devel] [PATCH] rgmanager: Fix clusvcadm message when run with -F [RHEL6] Lon Hohberger
2012-02-21 19:43 ` Fabio M. Di Nitto

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).