|
|
b6d90c |
From fc0f3e37918f727956df096fc301a0e62926c1c0 Mon Sep 17 00:00:00 2001
|
|
|
b6d90c |
From: Evan Huus <eapache@gmail.com>
|
|
|
b6d90c |
Date: Sun, 22 Sep 2013 16:42:21 +0000
|
|
|
b6d90c |
Subject: [PATCH 13/14] Manual backport of r52142 and r52144 to fix collision
|
|
|
b6d90c |
between gluster defines and system header dirent.h
|
|
|
b6d90c |
|
|
|
b6d90c |
svn path=/trunk-1.10/; revision=52173
|
|
|
b6d90c |
---
|
|
|
b6d90c |
epan/dissectors/packet-gluster.h | 18 +++++++++---------
|
|
|
b6d90c |
epan/dissectors/packet-glusterfs.c | 18 +++++++++---------
|
|
|
b6d90c |
2 files changed, 18 insertions(+), 18 deletions(-)
|
|
|
b6d90c |
|
|
Peter Hatina |
13974b |
diff --git a/epan/dissectors/packet-gluster.h b/epan/dissectors/packet-gluster.h
|
|
|
b6d90c |
index e3c43d1..fc69e6c 100644
|
|
Peter Hatina |
13974b |
--- a/epan/dissectors/packet-gluster.h
|
|
Peter Hatina |
13974b |
+++ b/epan/dissectors/packet-gluster.h
|
|
Peter Hatina |
13974b |
@@ -356,15 +356,15 @@ enum gf_fop_procnum {
|
|
Peter Hatina |
13974b |
|
|
Peter Hatina |
13974b |
/* dir-entry types from libglusterfs/src/compat.h */
|
|
Peter Hatina |
13974b |
enum gluster_entry_types {
|
|
Peter Hatina |
13974b |
- DT_UNKNOWN = 0,
|
|
Peter Hatina |
13974b |
- DT_FIFO = 1,
|
|
Peter Hatina |
13974b |
- DT_CHR = 2,
|
|
Peter Hatina |
13974b |
- DT_DIR = 4,
|
|
Peter Hatina |
13974b |
- DT_BLK = 6,
|
|
Peter Hatina |
13974b |
- DT_REG = 8,
|
|
Peter Hatina |
13974b |
- DT_LNK = 10,
|
|
Peter Hatina |
13974b |
- DT_SOCK = 12,
|
|
Peter Hatina |
13974b |
- DT_WHT = 14
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_UNKNOWN = 0,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_FIFO = 1,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_CHR = 2,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_DIR = 4,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_BLK = 6,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_REG = 8,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_LNK = 10,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_SOCK = 12,
|
|
Peter Hatina |
13974b |
+ GLUSTER_DT_WHT = 14
|
|
Peter Hatina |
13974b |
};
|
|
Peter Hatina |
13974b |
|
|
Peter Hatina |
13974b |
|
|
Peter Hatina |
13974b |
diff --git a/epan/dissectors/packet-glusterfs.c b/epan/dissectors/packet-glusterfs.c
|
|
|
b6d90c |
index 56f9093..29ff0dc 100644
|
|
Peter Hatina |
13974b |
--- a/epan/dissectors/packet-glusterfs.c
|
|
Peter Hatina |
13974b |
+++ b/epan/dissectors/packet-glusterfs.c
|
|
Peter Hatina |
13974b |
@@ -2002,15 +2002,15 @@ static value_string_ext glusterfs3_1_fop_proc_vals_ext = VALUE_STRING_EXT_INIT(g
|
|
Peter Hatina |
13974b |
|
|
Peter Hatina |
13974b |
/* dir-entry types */
|
|
Peter Hatina |
13974b |
static const value_string glusterfs_entry_type_names[] = {
|
|
Peter Hatina |
13974b |
- { DT_UNKNOWN, "DT_UNKNOWN" },
|
|
Peter Hatina |
13974b |
- { DT_FIFO, "DT_FIFO" },
|
|
Peter Hatina |
13974b |
- { DT_CHR, "DT_CHR" },
|
|
Peter Hatina |
13974b |
- { DT_DIR, "DT_DIR" },
|
|
Peter Hatina |
13974b |
- { DT_BLK, "DT_BLK" },
|
|
Peter Hatina |
13974b |
- { DT_REG, "DT_REG" },
|
|
Peter Hatina |
13974b |
- { DT_LNK, "DT_LNK" },
|
|
Peter Hatina |
13974b |
- { DT_SOCK, "DT_SOCK" },
|
|
Peter Hatina |
13974b |
- { DT_WHT, "DT_WHT" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_UNKNOWN, "DT_UNKNOWN" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_FIFO, "DT_FIFO" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_CHR, "DT_CHR" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_DIR, "DT_DIR" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_BLK, "DT_BLK" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_REG, "DT_REG" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_LNK, "DT_LNK" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_SOCK, "DT_SOCK" },
|
|
Peter Hatina |
13974b |
+ { GLUSTER_DT_WHT, "DT_WHT" },
|
|
Peter Hatina |
13974b |
{ 0, NULL }
|
|
Peter Hatina |
13974b |
};
|
|
Peter Hatina |
13974b |
static value_string_ext glusterfs_entry_type_names_ext = VALUE_STRING_EXT_INIT(glusterfs_entry_type_names);
|
|
|
b6d90c |
--
|
|
|
b6d90c |
1.8.3.1
|
|
|
b6d90c |
|