diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2016-05-04 17:53:47 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2016-05-13 22:53:06 +0300 |
commit | d9e4084f6c9746e51a78a4d7ebf4983023289b32 (patch) | |
tree | 3ed63cefa263b7fcd983e2f00d63b2ca83354bc0 /net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | |
parent | 84f225c23d8906c9371d0749e062975c018ef6c4 (diff) | |
download | linux-d9e4084f6c9746e51a78a4d7ebf4983023289b32.tar.xz |
svcrdma: Generalize svc_rdma_xdr_decode_req()
Clean up: Pass in just the piece of the svc_rqst that is needed
here.
While we're in the area, add an informative documenting comment.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_recvfrom.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c b/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c index 1b72f351fbd3..c984b0aaecb1 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c +++ b/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c @@ -636,7 +636,7 @@ int svc_rdma_recvfrom(struct svc_rqst *rqstp) /* Decode the RDMA header. */ rmsgp = (struct rpcrdma_msg *)rqstp->rq_arg.head[0].iov_base; - ret = svc_rdma_xdr_decode_req(rmsgp, rqstp); + ret = svc_rdma_xdr_decode_req(&rqstp->rq_arg); if (ret < 0) goto out_err; if (ret == 0) |