cluster: RHEL48 - rgmanager: Fix double-unlock in error path
Lon Hohberger
lon at fedoraproject.org
Mon Jan 18 21:20:43 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=4f83d6506976ea57f97eb776aa22e46af15edd9d
Commit: 4f83d6506976ea57f97eb776aa22e46af15edd9d
Parent: 928731d10c132abcc1f5567b3fbe2bbce23fd67e
Author: Lon Hohberger <lhh at redhat.com>
AuthorDate: Tue Jul 21 13:16:53 2009 -0400
Committer: Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Jan 18 16:17:39 2010 -0500
rgmanager: Fix double-unlock in error path
Resolves: rhbz#555925
Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
rgmanager/src/daemons/rg_state.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/daemons/rg_state.c b/rgmanager/src/daemons/rg_state.c
index 386d569..7b4a991 100644
--- a/rgmanager/src/daemons/rg_state.c
+++ b/rgmanager/src/daemons/rg_state.c
@@ -803,7 +803,6 @@ svc_start(char *svcName, int req)
if (set_rg_state(svcName, &svcStatus) != 0) {
clulog(LOG_ERR,
"#47: Failed changing service status\n");
- rg_unlock(svcName, lockp);
goto out_unlock;
}
More information about the cluster-commits
mailing list