public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: rgmanager: master - rgmanager: Fix --debug build Date: Tue, 23 Jun 2009 14:09:00 -0000 [thread overview] Message-ID: <20090623140917.5F7E7120255@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/rgmanager.git?p=rgmanager.git;a=commitdiff;h=1a1c7302d985a0f76ae702ce98f36ad7a10c2b7a Commit: 1a1c7302d985a0f76ae702ce98f36ad7a10c2b7a Parent: d1b70a1c3e5c6a962061c9f7c181ccecb050d30e Author: Lon Hohberger <lhh@redhat.com> AuthorDate: Tue Jun 23 10:07:14 2009 -0400 Committer: Lon Hohberger <lhh@redhat.com> CommitterDate: Tue Jun 23 10:09:11 2009 -0400 rgmanager: Fix --debug build Signed-off-by: Lon Hohberger <lhh@redhat.com> --- rgmanager/include/resgroup.h | 2 ++ rgmanager/src/daemons/rg_state.c | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/rgmanager/include/resgroup.h b/rgmanager/include/resgroup.h index 8e585e7..5dc84d4 100644 --- a/rgmanager/include/resgroup.h +++ b/rgmanager/include/resgroup.h @@ -181,9 +181,11 @@ uint32_t best_target_node(cluster_member_list_t *allowed, uint32_t owner, const char *rg_name, int lock); #ifdef DEBUG +int _rg_lock(const char *name, struct dlm_lksb *p); int _rg_lock_dbg(const char *, struct dlm_lksb *, const char *, int); #define rg_lock(name, p) _rg_lock_dbg(name, p, __FILE__, __LINE__) +int _rg_unlock(struct dlm_lksb *p); int _rg_unlock_dbg(struct dlm_lksb *, const char *, int); #define rg_unlock(p) _rg_unlock_dbg(p, __FILE__, __LINE__) diff --git a/rgmanager/src/daemons/rg_state.c b/rgmanager/src/daemons/rg_state.c index 75948e4..16204e1 100644 --- a/rgmanager/src/daemons/rg_state.c +++ b/rgmanager/src/daemons/rg_state.c @@ -141,7 +141,7 @@ rg_unlock(struct dlm_lksb *p) #ifdef DEBUG int -_rg_unlock_dbg(struct dlm_lksb *p, char *file, int line) +_rg_unlock_dbg(struct dlm_lksb *p, const char *file, int line) { dbg_printf("rg_unlock() @ %s:%d\n", file, line); return _rg_unlock(p);
reply other threads:[~2009-06-23 14:09 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=20090623140917.5F7E7120255@lists.fedorahosted.org \ --to=lon@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).