[Sheepdog] [PATCH 2/3] sheepdog: remove unused request header fields

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon May 10 00:44:27 CEST 2010


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

diff --git a/block/sheepdog.c b/block/sheepdog.c
index 043b215..e3a94b4 100644
--- a/block/sheepdog.c
+++ b/block/sheepdog.c
@@ -101,7 +101,7 @@ struct sd_obj_req {
 	uint64_t        oid;
 	uint64_t        cow_oid;
 	uint32_t        copies;
-	uint32_t        obj_ver;
+	uint32_t        rsvd;
 	uint64_t        offset;
 };
 
@@ -113,9 +113,8 @@ struct sd_obj_rsp {
 	uint32_t        id;
 	uint32_t        data_length;
 	uint32_t        result;
-	uint32_t        obj_ver;
 	uint32_t        copies;
-	uint32_t        pad[5];
+	uint32_t        pad[6];
 };
 
 struct sd_vdi_req {
-- 
1.5.6.5




More information about the sheepdog mailing list