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: cluster: STABLE3 - gfs_controld: ifdef out unused code Date: Mon, 11 May 2009 15:14:00 -0000 [thread overview] Message-ID: <20090511151312.E820D1201EC@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=bb886fb7815c2c55daba3f0ecd837247853d4ebd Commit: bb886fb7815c2c55daba3f0ecd837247853d4ebd Parent: 13fefa51c93282e983de3fd66fb7784b46d699e1 Author: Fabio M. Di Nitto <fdinitto@redhat.com> AuthorDate: Wed May 6 09:29:21 2009 +0200 Committer: David Teigland <teigland@redhat.com> CommitterDate: Mon May 11 10:05:06 2009 -0500 gfs_controld: ifdef out unused code and remove unused plock_exit, done by close_plock Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> --- group/gfs_controld/cpg-old.c | 2 +- group/gfs_controld/group.c | 2 +- group/gfs_controld/plock.c | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/group/gfs_controld/cpg-old.c b/group/gfs_controld/cpg-old.c index ae553ce..552fe12 100644 --- a/group/gfs_controld/cpg-old.c +++ b/group/gfs_controld/cpg-old.c @@ -209,7 +209,7 @@ static int local_first_mounter_recovery(struct mountgroup *mg) return 0; } -int remote_first_mounter_recovery(struct mountgroup *mg) +static int remote_first_mounter_recovery(struct mountgroup *mg) { int nodeid; diff --git a/group/gfs_controld/group.c b/group/gfs_controld/group.c index 599015c..d738f0d 100644 --- a/group/gfs_controld/group.c +++ b/group/gfs_controld/group.c @@ -286,7 +286,7 @@ int set_mountgroups_group(int *count, struct gfsc_mountgroup **mgs_out) return 0; } -int list_count(struct list_head *head) +static int list_count(struct list_head *head) { struct list_head *tmp; int count = 0; diff --git a/group/gfs_controld/plock.c b/group/gfs_controld/plock.c index 453aeca..f8b600e 100644 --- a/group/gfs_controld/plock.c +++ b/group/gfs_controld/plock.c @@ -1615,12 +1615,6 @@ void process_saved_plocks(struct mountgroup *mg) } } -void plock_exit(void) -{ - if (cfgd_enable_plock) - saCkptFinalize(ckpt_handle); -} - /* locks still marked SYNCING should not go into the ckpt; the new node will get those locks by receiving PLOCK_SYNC messages */
reply other threads:[~2009-05-11 15:14 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=20090511151312.E820D1201EC@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: linkBe 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).