public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* RHEL5 - groupd: ignore nolock gfs fix
@ 2008-08-19 21:05 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2008-08-19 21:05 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=928f894f0156291264b7981140cea10bb0128141
Commit:        928f894f0156291264b7981140cea10bb0128141
Parent:        feafe729f0fa9104854c1a79f59a5ff5813db828
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Tue Aug 19 15:50:34 2008 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Tue Aug 19 15:50:34 2008 -0500

groupd: ignore nolock gfs fix

This commit was missing a call to close().

bz 315741

When starting up, we look for existing, "uncontrolled" gfs file systems
in the kernel (which would require the node to be rebooted.) This check
needs to ignore nolock fs's.

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

diff --git a/group/daemon/main.c b/group/daemon/main.c
index c80a024..90a9b48 100644
--- a/group/daemon/main.c
+++ b/group/daemon/main.c
@@ -126,6 +126,7 @@ static int ignore_gfs_nolock(char *sysfs_dir, char *table)
 	if (fd < 0)
 		return 1;
 
+	close(fd);
 	return 0;
 }
 


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

only message in thread, other threads:[~2008-08-19 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-19 21:05 RHEL5 - groupd: ignore nolock gfs fix 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).