[Sheepdog] [PATCH 2/4] sheepdog: remove super object operation headers

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Apr 21 19:32:18 CEST 2010


We don't need a super object (vdi directory) now.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 block/sheepdog.c |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/block/sheepdog.c b/block/sheepdog.c
index 880ea0c..1675cdc 100644
--- a/block/sheepdog.c
+++ b/block/sheepdog.c
@@ -1692,34 +1692,6 @@ static int sd_snapshot_delete(BlockDriverState *bs, const char *snapshot_id)
 	return 0;
 }
 
-struct sd_so_req {
-	uint8_t		proto_ver;
-	uint8_t		opcode;
-	uint16_t	flags;
-	uint32_t	epoch;
-	uint32_t        id;
-	uint32_t        data_length;
-	uint64_t	oid;
-	uint64_t	ctime;
-	uint32_t	copies;
-	uint32_t	tag;
-	uint32_t	opcode_specific[2];
-};
-
-struct sd_so_rsp {
-	uint8_t		proto_ver;
-	uint8_t		opcode;
-	uint16_t	flags;
-	uint32_t	epoch;
-	uint32_t        id;
-	uint32_t        data_length;
-	uint32_t        result;
-	uint32_t	copies;
-	uint64_t	ctime;
-	uint64_t	oid;
-	uint32_t	opcode_specific[2];
-};
-
 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
 #define BITS_PER_BYTE		8
 #define BITS_TO_LONGS(nr)	DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))
-- 
1.5.6.5




More information about the sheepdog mailing list