diff options
| author | Amar Tumballi <amar@gluster.com> | 2010-06-29 05:36:30 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-01 03:31:51 -0700 | 
| commit | 01923eed1115e53c5be9fba3e72f75c7c631bf95 (patch) | |
| tree | c1f1774247d8c25a9ced8c47ec416f63123591a2 /xlators/protocol/server/src/server-helpers.h | |
| parent | c46f8452d75e2f1b4ab77306177f39bdbb4b232c (diff) | |
minor fixes in rpc + protocol
* proper use of mem_acct_init in client.c/server.c
* fentrylk_resume to be called instead of finodelk_resume in
  server_fentrylk().
* handle the case of xdr decoding failure on server by sending the
  proper error reply to client, so there is no missing frame.
* removed unwanted functions from server-helpers.c
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.h')
| -rw-r--r-- | xlators/protocol/server/src/server-helpers.h | 9 | 
1 files changed, 0 insertions, 9 deletions
diff --git a/xlators/protocol/server/src/server-helpers.h b/xlators/protocol/server/src/server-helpers.h index ef27b612a64..9e295cd1099 100644 --- a/xlators/protocol/server/src/server-helpers.h +++ b/xlators/protocol/server/src/server-helpers.h @@ -43,12 +43,6 @@  #define IS_NOT_ROOT(pathlen) ((pathlen > 2)? 1 : 0) -char * -stat_to_str (struct iatt *stbuf); - -call_frame_t * -server_copy_frame (call_frame_t *frame); -  void free_state (server_state_t *state);  void server_loc_wipe (loc_t *loc); @@ -65,9 +59,6 @@ gf_del_locker (struct _lock_table *table, const char *volume,  	       fd_t *fd,  	       pid_t pid); -int32_t -gf_direntry_to_bin (dir_entry_t *head, char *bufferp); -  void  server_print_request (call_frame_t *frame);  | 
