public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - groupd/fenced/dlm_controld/gfs_controld: unlink lockfile
@ 2009-03-20 19:46 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2009-03-20 19:46 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ac0f47dfdbe399389a375a29d62c8f82d55a554b
Commit:        ac0f47dfdbe399389a375a29d62c8f82d55a554b
Parent:        c1298785e20800e47a82643aa4b608bdffddb876
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Fri Mar 20 14:41:25 2009 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Fri Mar 20 14:42:39 2009 -0500

groupd/fenced/dlm_controld/gfs_controld: unlink lockfile

when the daemon exits

Signed-off-by: David Teigland <teigland@redhat.com>
---
 fence/fenced/main.c       |    1 +
 group/daemon/main.c       |    1 +
 group/dlm_controld/main.c |    1 +
 group/gfs_controld/main.c |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/fence/fenced/main.c b/fence/fenced/main.c
index aaeeb07..a6e2b93 100644
--- a/fence/fenced/main.c
+++ b/fence/fenced/main.c
@@ -1042,6 +1042,7 @@ int main(int argc, char **argv)
 
 	loop();
 
+	unlink(LOCKFILE_NAME);
 	return 0;
 }
 
diff --git a/group/daemon/main.c b/group/daemon/main.c
index 461be5d..16b019c 100644
--- a/group/daemon/main.c
+++ b/group/daemon/main.c
@@ -1039,6 +1039,7 @@ int main(int argc, char *argv[])
 
 	loop();
 
+	unlink(LOCKFILE_NAME);
 	return 0;
 }
 
diff --git a/group/dlm_controld/main.c b/group/dlm_controld/main.c
index ac09ae6..267c1aa 100644
--- a/group/dlm_controld/main.c
+++ b/group/dlm_controld/main.c
@@ -1283,6 +1283,7 @@ int main(int argc, char **argv)
 
 	loop();
 
+	unlink(LOCKFILE_NAME);
 	return 0;
 }
 
diff --git a/group/gfs_controld/main.c b/group/gfs_controld/main.c
index be29cf2..9708272 100644
--- a/group/gfs_controld/main.c
+++ b/group/gfs_controld/main.c
@@ -1532,6 +1532,7 @@ int main(int argc, char **argv)
 
 	loop();
 
+	unlink(LOCKFILE_NAME);
 	return 0;
 }
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-20 19:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-20 19:46 cluster: STABLE3 - groupd/fenced/dlm_controld/gfs_controld: unlink lockfile David Teigland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).