diff options
| author | Vikas Gorur <vikas@zresearch.com> | 2009-02-23 02:33:11 -0800 | 
|---|---|---|
| committer | Anand V. Avati <avati@amp.gluster.com> | 2009-02-23 19:31:52 +0530 | 
| commit | a3ed4474de9db5bda606b374f3d8cb1cdbf8a9fb (patch) | |
| tree | 23da9bd50c184564c531a15a8c396af48499f07a /libglusterfs/src/protocol.h | |
| parent | 80066c23da120621f26d83d631e204ab2943d181 (diff) | |
added lock_notify and lock_fnotify FOPs to everywhere necessary in libglusterfs/*
fixed indentation and resubmitting
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/protocol.h')
| -rw-r--r-- | libglusterfs/src/protocol.h | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 4ba869dee3a..5f7225152df 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -651,6 +651,20 @@ typedef struct {  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;  typedef struct {} __attribute__((packed)) gf_mop_lock_rsp_t;  | 
