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

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Aug 12 09:54:06 CEST 2014


At Mon, 11 Aug 2014 14:46:32 +0900,
Hitoshi Mitake wrote:
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>  include/sheepdog_proto.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied.

Thanks,
Hitoshi

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