[sheepdog] [PATCH] sheepdog proto: add a string representation of new error code

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Mon Aug 18 10:25:19 CEST 2014


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

diff --git a/include/sheep.h b/include/sheep.h
index a8d97a8..22524c1 100644
--- a/include/sheep.h
+++ b/include/sheep.h
@@ -148,6 +148,7 @@ static inline const char *sd_strerror(int err)
 		[SD_RES_HALT] =
 			"IO has halted as there are not enough living nodes",
 		[SD_RES_READONLY] = "Object is read-only",
+		[SD_RES_INODE_INVALIDATED] = "Inode object is invalidated",
 
 		/* from internal_proto.h */
 		[SD_RES_OLD_NODE_VER] = "Request has an old epoch",
-- 
1.8.3.2




More information about the sheepdog mailing list