diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2013-06-28 09:01:08 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-06-27 23:31:52 -0700 |
commit | 4bea8a2cfeaa8e037c6566b6a192bc31a2c004ca (patch) | |
tree | afd010dd040e79c10c96f4e6c9b8913111db354c /xlators/protocol | |
parent | 75ee14ffbe362c41be096eca9a2fef1ec7e8db94 (diff) |
protocol/server: Initialize connection variable
Change-Id: I46badd812e9b936911ddd2793cef7ce30ec220a6
BUG: 979237
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/5266
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/server/src/server-rpc-fops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c index 25d9f17b5ac..9e326af4b7d 100644 --- a/xlators/protocol/server/src/server-rpc-fops.c +++ b/xlators/protocol/server/src/server-rpc-fops.c @@ -1333,6 +1333,7 @@ server_fstat_cbk (call_frame_t *frame, void *cookie, xlator_t *this, req = frame->local; state = CALL_STATE(frame); + conn = SERVER_CONNECTION (frame); GF_PROTOCOL_DICT_SERIALIZE (this, xdata, (&rsp.xdata.xdata_val), rsp.xdata.xdata_len, op_errno, out); @@ -1487,6 +1488,7 @@ server_writev_cbk (call_frame_t *frame, void *cookie, xlator_t *this, req = frame->local; state = CALL_STATE(frame); + conn = SERVER_CONNECTION (frame); GF_PROTOCOL_DICT_SERIALIZE (this, xdata, (&rsp.xdata.xdata_val), rsp.xdata.xdata_len, op_errno, out); |