public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: David Teigland <teigland@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: RHEL5 - groupd: ignore nolock gfs fix
Date: Tue, 19 Aug 2008 21:05:00 -0000	[thread overview]
Message-ID: <20080819210143.3CDFC1202A5@lists.fedorahosted.org> (raw)

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;
 }
 


                 reply	other threads:[~2008-08-19 21:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080819210143.3CDFC1202A5@lists.fedorahosted.org \
    --to=teigland@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).