diff options
| author | Amar Tumballi <amar@gluster.com> | 2010-10-01 04:21:17 +0000 | 
|---|---|---|
| committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-01 03:41:21 -0700 | 
| commit | 3009bc7b585ae9973c6b50ce464a52f20182c63f (patch) | |
| tree | bd874077f848d933557bfa7b462438bebdae0c3a /xlators/protocol/server/src/server-handshake.c | |
| parent | 1af483d3716d6b520c1b4fd984ccecee638b2886 (diff) | |
remove 'gfs_id' field from all protocol xdr structures
It was kept as a debugging requirement/placeholder. Because RPC is
mostly bug free with regard to basic xdr structures, it doesn't
make sense to carry this forward in release. Saves 8bytes in each
request.
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Vijay Bellur <vijay@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-handshake.c')
| -rw-r--r-- | xlators/protocol/server/src/server-handshake.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/protocol/server/src/server-handshake.c b/xlators/protocol/server/src/server-handshake.c index b148f06690d..78c27eabe7e 100644 --- a/xlators/protocol/server/src/server-handshake.c +++ b/xlators/protocol/server/src/server-handshake.c @@ -335,7 +335,7 @@ fail:  int  server_setvolume (rpcsvc_request_t *req)  { -        gf_setvolume_req     args          = {0,}; +        gf_setvolume_req     args          = {{0,},};          gf_setvolume_rsp     rsp           = {0,};          server_connection_t *conn          = NULL;          server_conf_t       *conf          = NULL; @@ -647,7 +647,6 @@ server_ping (rpcsvc_request_t *req)  {          gf_common_rsp rsp = {0,}; -        rsp.gfs_id = req->gfs_id;          /* Accepted */          rsp.op_ret = 0;  | 
