From 7af8d8edbd8554235348e0f54348edf222c0b46e Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Thu, 12 Mar 2009 16:21:51 +0530 Subject: Add extra 'volume' parameter to inodelk/entrylk calls Signed-off-by: Anand V. Avati --- libglusterfs/src/protocol.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libglusterfs/src/protocol.h') diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 35f172ab7..4bb379b2f 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -557,6 +557,7 @@ typedef struct { uint32_t type; struct gf_flock flock; char path[0]; + char volume[0]; } __attribute__((packed)) gf_fop_inodelk_req_t; typedef struct { } __attribute__((packed)) gf_fop_inodelk_rsp_t; @@ -567,6 +568,7 @@ typedef struct { uint32_t cmd; uint32_t type; struct gf_flock flock; + char volume[0]; } __attribute__((packed)) gf_fop_finodelk_req_t; typedef struct { } __attribute__((packed)) gf_fop_finodelk_rsp_t; @@ -578,6 +580,7 @@ typedef struct { uint64_t namelen; char path[0]; char name[0]; + char volume[0]; } __attribute__((packed)) gf_fop_entrylk_req_t; typedef struct { } __attribute__((packed)) gf_fop_entrylk_rsp_t; @@ -589,6 +592,7 @@ typedef struct { uint32_t type; uint64_t namelen; char name[0]; + char volume[0]; } __attribute__((packed)) gf_fop_fentrylk_req_t; typedef struct { } __attribute__((packed)) gf_fop_fentrylk_rsp_t; -- cgit