[Cluster-devel] GFS2: Make bd_cmp() static

2012-02-21 Thread Steven Whitehouse
From b3e8048654f583c2d9577c999dae07994280fd2b Mon Sep 17 00:00:00 2001
From: Steven Whitehouse swhit...@redhat.com
Date: Tue, 21 Feb 2012 11:14:00 +
Subject: [PATCH] GFS2: Make bd_cmp() static

Add missing static to bd_cmp()

Signed-off-by: Steven Whitehouse swhit...@redhat.com

diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index b8fe7b7..2b9f0d9 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -567,7 +567,7 @@ static void log_flush_commit(struct gfs2_sbd *sdp)
log_write_header(sdp, 0, 0);
 }
 
-int bd_cmp(void *priv, struct list_head *a, struct list_head *b)
+static int bd_cmp(void *priv, struct list_head *a, struct list_head *b)
 {
struct gfs2_bufdata *bda, *bdb;
 
-- 
1.7.4





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

2012-02-21 Thread 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

Signed-off-by: Lon Hohberger l...@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



Re: [Cluster-devel] [PATCH] rgmanager: Fix clusvcadm message when run with -F [RHEL6]

2012-02-21 Thread Fabio M. Di Nitto
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 l...@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: