diff options
author | Ryan Ding <ryan.ding@open-fs.com> | 2016-08-24 00:41:13 +0800 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-08-24 19:06:25 -0700 |
commit | c70f4b3af619bcdd08d57147a4ed582bdad98084 (patch) | |
tree | d3a0426f5cf6928dfdb1c021e4e1a71b6cdb2976 /libglusterfs/src/call-stub.h | |
parent | 56a79b357e09d91305994fcc0b2d250cb9ac243d (diff) |
protocol/server: readlink rsp xdr will fail while readlink got an error
set gfs3_readlink_rsp.path with an empty string while error happen, to
make xdr_gfs3_readlink_rsp happy. otherwise the original errno will be
lost, and return an rpc internal errno instead.
Change-Id: I36655b66df8b9f164e5bd21eb17244722c2f5a52
BUG: 1369530
Signed-off-by: Ryan Ding <ryan.ding@open-fs.com>
Reviewed-on: http://review.gluster.org/15299
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'libglusterfs/src/call-stub.h')
0 files changed, 0 insertions, 0 deletions