This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
RHEL5 - groupd: ignore nolock gfs fix
- From: David Teigland <teigland at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Tue, 19 Aug 2008 21:01:43 +0000 (UTC)
- Subject: RHEL5 - groupd: ignore nolock gfs fix
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;
}