summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2016-02-25 21:30:33 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-02-29 03:46:16 -0800
commit1f673d141fb06282583175357348a7a2fc19e604 (patch)
tree9fbf27b62cdfdd908bb371899e965e3452c4db6d /xlators/protocol
parent69af0676c9e55804338abe26b94138da15385747 (diff)
protocol/client: Don't change op_ret when xdata_rsp is present
Change-Id: Ia69cc420ad7b5766d513ea2715bbca50d8d57132 BUG: 1312226 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/13530 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/client/src/client-rpc-fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c
index 62038acc4db..d56c554360a 100644
--- a/xlators/protocol/client/src/client-rpc-fops.c
+++ b/xlators/protocol/client/src/client-rpc-fops.c
@@ -2638,7 +2638,7 @@ client3_3_readdir_cbk (struct rpc_req *req, struct iovec *iov, int count,
GF_PROTOCOL_DICT_UNSERIALIZE (frame->this, xdata,
(rsp.xdata.xdata_val),
- (rsp.xdata.xdata_len), rsp.op_ret,
+ (rsp.xdata.xdata_len), ret,
rsp.op_errno, out);
out: