[sheepdog] [PATCH] sheep: revive backward compatibility of locking operation

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Aug 11 07:46:32 CEST 2014


Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
 include/sheepdog_proto.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/sheepdog_proto.h b/include/sheepdog_proto.h
index 27a99b3..8b8058d 100644
--- a/include/sheepdog_proto.h
+++ b/include/sheepdog_proto.h
@@ -130,8 +130,8 @@
 #define SD_REQ_SIZE 48
 #define SD_RSP_SIZE 48
 
-#define LOCK_TYPE_NORMAL 1
-#define LOCK_TYPE_SHARED 2	/* for iSCSI multipath */
+#define LOCK_TYPE_NORMAL 0
+#define LOCK_TYPE_SHARED 1	/* for iSCSI multipath */
 
 struct sd_req {
 	uint8_t		proto_ver;
-- 
1.8.3.2




More information about the sheepdog mailing list