diff options
author | Vijay Bellur <vijay@gluster.com> | 2010-07-15 06:05:52 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-15 05:37:35 -0700 |
commit | 11cae38ac007ed55c2bc1217da1a80fc367100e8 (patch) | |
tree | 2a8b2b41ced579229290aed30c52d972cb266d13 /xlators/protocol/legacy/lib/src/protocol.h | |
parent | 2546b7f5bf1d747262d956cb233676c563423370 (diff) |
Fix compilation issues when uuid/uuid.h is not present
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'xlators/protocol/legacy/lib/src/protocol.h')
-rw-r--r-- | xlators/protocol/legacy/lib/src/protocol.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/xlators/protocol/legacy/lib/src/protocol.h b/xlators/protocol/legacy/lib/src/protocol.h index 85d175dd4..e929693d7 100644 --- a/xlators/protocol/legacy/lib/src/protocol.h +++ b/xlators/protocol/legacy/lib/src/protocol.h @@ -35,7 +35,6 @@ #include "byte-order.h" #include "iatt.h" -#include <uuid/uuid.h> /* Any changes in the protocol structure or adding new '[f,m]ops' needs to * bump the protocol version by "0.1" @@ -1035,38 +1034,6 @@ typedef struct { } __attribute__((packed)) gf_cbk_forget_req_t; typedef struct { } __attribute__((packed)) gf_cbk_forget_rsp_t; - - -typedef struct { - char volname[0]; - char exportpath[0]; -} __attribute__((packed)) gf_mop_create_volume_t; -typedef struct { -} __attribute__ ((packed))gf_mop_create_volume_rsp_t; - -typedef struct { - uuid_t uuid; -} __attribute__((packed)) gf_mop_cluster_lock_req_t; -typedef struct { - uuid_t uuid; -} __attribute__ ((packed))gf_mop_cluster_lock_rsp_t; - -typedef gf_mop_cluster_lock_req_t gf_mop_cluster_unlock_req_t; -typedef gf_mop_cluster_lock_rsp_t gf_mop_cluster_unlock_rsp_t; - -typedef struct { - uuid_t uuid; - int32_t op; - int32_t len; - char buf[0]; -} __attribute__((packed)) gf_mop_stage_req_t; -typedef struct { - uuid_t uuid; - int32_t op; -} __attribute__ ((packed))gf_mop_stage_rsp_t; - -typedef gf_mop_stage_rsp_t gf_mop_commit_rsp_t; - typedef struct { uint32_t pid; uint32_t uid; |