[PATCH] sheepdog: protocol update for revivng backward compatibility
Hitoshi Mitake <[email protected]> Mon, 11 Aug 2014 14:48:39 +0900
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <[email protected]> |
This update is just for updating protocol of sheepdog. Recent discussion in the sheepdog community requires it. Singed-off-by: Hitoshi Mitake <[email protected]> --- usr/bs_sheepdog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bs_sheepdog.c b/usr/bs_sheepdog.c index ffc2519..bbbd392 100644 --- a/usr/bs_sheepdog.c +++ b/usr/bs_sheepdog.c @@ -171,8 +171,8 @@ struct sheepdog_obj_rsp { uint32_t pad[6]; }; -#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 sheepdog_vdi_req { uint8_t proto_ver; -- 1.8.3.2