public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE2 - dlm: Make dlm_tcpdump compile for RHEL5
Date: Wed, 13 May 2009 11:07:00 -0000	[thread overview]
Message-ID: <20090513110711.830B51201C1@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d6a6f733525ec28f7485daa58be62facea7dc4d5
Commit:        d6a6f733525ec28f7485daa58be62facea7dc4d5
Parent:        fbceb5dfc3cbdb627c17a77f13fe97611df31ad0
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Wed May 13 12:06:46 2009 +0100
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Wed May 13 12:06:46 2009 +0100

dlm: Make dlm_tcpdump compile for RHEL5

It's still untested though ;-)

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
 dlm/tests/tcpdump/dlm_tcpdump.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlm/tests/tcpdump/dlm_tcpdump.c b/dlm/tests/tcpdump/dlm_tcpdump.c
index 6741888..6953aef 100644
--- a/dlm/tests/tcpdump/dlm_tcpdump.c
+++ b/dlm/tests/tcpdump/dlm_tcpdump.c
@@ -13,8 +13,6 @@
 *
 **********************************************************************/
 
-#define RHEL4
-
 #include <pcap.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -72,14 +70,15 @@ struct dlm_message {
 
 #ifdef RHEL5
 
+
 struct dlm_message {
 	uint32_t		m_version;
 	uint32_t		m_lockspace;
 	uint32_t		m_nodeid;	/* nodeid of sender */
 	uint16_t		m_length;
-	uint8_t			m_msg;		/* DLM_MSG, DLM_RCOM */
+	uint8_t			m_msgtype;		/* DLM_MSG, DLM_RCOM */
 	uint8_t			m_pad;
-	uint32_t		m_msg;		/* DLM_MSG_ */
+	uint32_t		m_cmd;		/* DLM_MSG_ */
 	uint32_t		m_rnodeid;
 	uint32_t		m_pid;
 	uint32_t		m_lkid;		/* lkid on sender */


                 reply	other threads:[~2009-05-13 11:07 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=20090513110711.830B51201C1@lists.fedorahosted.org \
    --to=chrissie@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).