diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2017-04-09 20:06:49 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-04-26 00:25:55 +0300 |
commit | f5821c76b2c9c2fb98b276c0bf6a101bfe9050a3 (patch) | |
tree | 469c6bb477b2f81f0f03d88b0bc299ea9b3db080 /include/linux/sunrpc/svc_rdma.h | |
parent | 4757d90b15d851b9986bfca745eacc176359c13d (diff) | |
download | linux-f5821c76b2c9c2fb98b276c0bf6a101bfe9050a3.tar.xz |
svcrdma: Clean up RPC-over-RDMA backchannel reply processing
Replace C structure-based XDR decoding with pointer arithmetic.
Pointer arithmetic is considered more portable.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/svc_rdma.h')
-rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h index a770d200f607..44d642bbfce6 100644 --- a/include/linux/sunrpc/svc_rdma.h +++ b/include/linux/sunrpc/svc_rdma.h @@ -204,7 +204,7 @@ static inline void svc_rdma_count_mappings(struct svcxprt_rdma *rdma, /* svc_rdma_backchannel.c */ extern int svc_rdma_handle_bc_reply(struct rpc_xprt *xprt, - struct rpcrdma_msg *rmsgp, + __be32 *rdma_resp, struct xdr_buf *rcvbuf); /* svc_rdma_marshal.c */ |