]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/rdma: return stored errno on error
authorKefu Chai <kchai@redhat.com>
Thu, 13 Jul 2017 10:42:11 +0000 (18:42 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 13 Jul 2017 16:40:38 +0000 (00:40 +0800)
commit325545dc7a40ef98bb37f709683fa4c2e45d9b7c
tree6d3eebf0c5c88cf0529736bc0d7a572ed0c871bd
parent45b55b4b9f539db9042db8c21d90e06b552e4a25
msg/async/rdma: return stored errno on error

otherwise the errno would be overwritten, and we are returning 0 or the
errno set by ::close()

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/msg/async/rdma/RDMAServerSocketImpl.cc