[Cluster-devel] cluster/rgmanager/src clulib/tmgr.c daemons/rg ...
lhh at sourceware.org
lhh at sourceware.org
Tue Jul 24 13:58:47 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 2007-07-24 13:58:47
Modified files:
rgmanager/src/clulib: tmgr.c
rgmanager/src/daemons: rg_thread.c
Log message:
Fix minor warnings
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/clulib/tmgr.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.1&r2=1.1.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_thread.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.15.2.8&r2=1.15.2.9
--- cluster/rgmanager/src/clulib/tmgr.c 2007/07/24 13:53:08 1.1.2.1
+++ cluster/rgmanager/src/clulib/tmgr.c 2007/07/24 13:58:47 1.1.2.2
@@ -82,7 +82,7 @@
if (new) {
new->th = *th;
new->fn = start_routine;
- new->name = backtrace_symbols(&new->fn, 1);
+ new->name = backtrace_symbols(&fn, 1);
pthread_rwlock_wrlock(&_tlock);
list_insert(&_tlist, new);
++_tcount;
--- cluster/rgmanager/src/daemons/rg_thread.c 2007/07/24 13:53:08 1.15.2.8
+++ cluster/rgmanager/src/daemons/rg_thread.c 2007/07/24 13:58:47 1.15.2.9
@@ -579,7 +579,6 @@
int ret;
resthread_t *resgroup = NULL;
-retry:
pthread_mutex_lock(&reslist_mutex);
while (resgroup == NULL) {
resgroup = find_resthread_byname(resgroupname);
More information about the Cluster-devel
mailing list