Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > media > main-src > by-pkgid > e536fc0c6270ec1d92a0fd41bb1f8360 > files > 128

rgmanager-2.0.52-28.el5_8.2.src.rpm

From 438eb80aa512526f345863d6b8011b6ac31e688e Mon Sep 17 00:00:00 2001
From: Lon Hohberger <lhh@redhat.com>
Date: Wed, 25 Aug 2010 13:32:19 -0400
Subject: [PATCH] rgmanager: Header cleanup

Resolves: rhbz#605733

Signed-off-by: Lon Hohberger <lhh@redhat.com>
---
 rgmanager/include/res-ocf.h  |    1 +
 rgmanager/include/resgroup.h |    3 +++
 rgmanager/include/reslist.h  |    2 +-
 3 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/rgmanager/include/res-ocf.h b/rgmanager/include/res-ocf.h
index ce8e1f3..67b41cd 100644
--- a/rgmanager/include/res-ocf.h
+++ b/rgmanager/include/res-ocf.h
@@ -65,5 +65,6 @@
 #define RS_MIGRATE	(13)
 #define RS_RECONFIG	(14)
 #define RS_STATUS_INQUIRY (15)	/** Quick status */
+#define RS_CONVALESCE	(16)
 
 #endif
diff --git a/rgmanager/include/resgroup.h b/rgmanager/include/resgroup.h
index c8e7e2d..edfa012 100644
--- a/rgmanager/include/resgroup.h
+++ b/rgmanager/include/resgroup.h
@@ -89,6 +89,7 @@ typedef struct {
 #define RG_FREEZE	  23
 #define RG_UNFREEZE	  24
 #define RG_STATUS_INQUIRY 25
+#define RG_CONVALESCE	  26
 #define RG_NONE		  999
 
 const char *rg_req_str(int req);
@@ -118,6 +119,8 @@ int handle_start_remote_req(char *svcName, int req);
 
 /* Resource group flags (for now) */
 #define RG_FLAG_FROZEN			(1<<0)	/** Resource frozen */
+#define RG_FLAG_PARTIAL			(1<<1)	/** One or more non-critical
+						    resources offline */
 
 const char *rg_state_str(int val);
 const char *rg_flag_str(int val);
diff --git a/rgmanager/include/reslist.h b/rgmanager/include/reslist.h
index b2923ab..26fdbb5 100644
--- a/rgmanager/include/reslist.h
+++ b/rgmanager/include/reslist.h
@@ -46,7 +46,7 @@
 				  resource class if you delete it from
 				  the configuration */
 #define RF_ENFORCE_TIMEOUTS (1<<9) /** Enforce timeouts for this node */
-#define RF_NON_CRITCIAL (1<<10) /** stop this resource if it fails */
+#define RF_NON_CRITICAL (1<<10) /** stop this resource if it fails */
 
 
 
-- 
1.7.2.2