From a3ed4474de9db5bda606b374f3d8cb1cdbf8a9fb Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Mon, 23 Feb 2009 02:33:11 -0800 Subject: added lock_notify and lock_fnotify FOPs to everywhere necessary in libglusterfs/* fixed indentation and resubmitting Signed-off-by: Anand V. Avati --- libglusterfs/src/protocol.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libglusterfs/src/protocol.h') diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 4ba869dee..5f7225152 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -650,6 +650,20 @@ typedef struct { } __attribute__((packed)) gf_fop_checksum_rsp_t; +typedef struct { + uint64_t ino; + int32_t timeout; +} __attribute__((packed)) gf_fop_lock_notify_req_t; +typedef struct { } __attribute__((packed)) gf_fop_lock_notify_rsp_t; + + +typedef struct { + int64_t fd; + int32_t timeout; +} __attribute__((packed)) gf_fop_lock_fnotify_req_t; +typedef struct { } __attribute__((packed)) gf_fop_lock_fnotify_rsp_t; + + typedef struct { char name[0]; } __attribute__((packed)) gf_mop_lock_req_t; -- cgit