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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Aug 19 09:00:29 CEST 2014


At Mon, 18 Aug 2014 17:25:19 +0900,
Hitoshi Mitake wrote:
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>  include/sheep.h | 1 +
>  1 file changed, 1 insertion(+)

Applied.

Thanks,
Hitoshi

> 
> 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