Skip to contentSkip to conversation

cluster/rgmanager ChangeLog src/daemons/groups ...

Cluster-devel [email protected] 1 participant 1 message Jul 31, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: lhh at sourceware.org 2007-07-31 18:26:39

Modified files:
rgmanager : ChangeLog
rgmanager/src/daemons: groups.c rg_thread.c

Log message:

	Fix #246669

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/ChangeLog.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.5.2.28&r2=1.5.2.29
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/groups.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.8.2.19&r2=1.8.2.20
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.7.2.9&r2=1.7.2.10

rgmanager/ChangeLog +4 -0
@@ -1,3 +1,7 @@
+2007-07-31 Lon Hohberger <[email protected]>
+	* src/daemons/groups.c, rg_thread.c: Fix #246669 - status check unbounded
+	but should be 1
+
 2007-06-28 Marek Grac <[email protected]>
 	* src/resources/named.sh, named.metadata: Add resource agent
 	for named (fix #213524)
rgmanager/src/daemons/groups.c +1 -1
@@ -877,7 +877,7 @@
 			continue;
 
 		rt_enqueue_request(name, RG_STATUS,
-				   -1, 0, NODE_ID_NONE, 0, 0);
+				   -1, 1, NODE_ID_NONE, 0, 0);
 
 	} while (!list_done(&_tree, curr));
 
rgmanager/src/daemons/rg_thread.c +0 -1
@@ -598,7 +598,6 @@
 			} while (!list_done(resgroup->rt_queue, curr));
 	
 			if (count >= max) {
-				pthread_cond_broadcast(resgroup->rt_queue_cond);
 				pthread_mutex_unlock(resgroup->rt_queue_mutex);
 				pthread_mutex_unlock(&reslist_mutex);
 				/*