diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2016-02-25 21:30:33 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-03-01 23:22:16 -0800 |
commit | 793f0ffba45e9cd6d5fbfbb8ffc274794aeb4683 (patch) | |
tree | 7d2e7f36e62c08a46d1820b3697c72e7def126f9 /xlators/protocol/client/src | |
parent | 0cdfd1aa02b0f5f6483fd56625bc032060694a93 (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>
>(cherry picked from commit 1f673d141fb06282583175357348a7a2fc19e604)
Change-Id: I2befb42ffff7410550f2373ec2ed7c251b911ae5
BUG: 1313448
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/13568
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/protocol/client/src')
-rw-r--r-- | xlators/protocol/client/src/client-rpc-fops.c | 2 |
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 ece23c988d9..2e2851685fa 100644 --- a/xlators/protocol/client/src/client-rpc-fops.c +++ b/xlators/protocol/client/src/client-rpc-fops.c @@ -2591,7 +2591,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: |