[Sheepdog] [PATCH] sheep: fix the type of 'flags' in sheepdog_config

Liu Yuan namei.unix at gmail.com
Fri Oct 21 06:02:24 CEST 2011


From: Liu Yuan <tailai.ly at taobao.com>


Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
 sheep/store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sheep/store.c b/sheep/store.c
index bcf36a4..ee8996e 100644
--- a/sheep/store.c
+++ b/sheep/store.c
@@ -26,7 +26,7 @@
 
 struct sheepdog_config {
 	uint64_t ctime;
-	uint32_t flags;
+	uint16_t flags;
 	uint8_t copies;
 	uint8_t pad[3];
 };
-- 
1.7.6.1




More information about the sheepdog mailing list