diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-02-19 01:22:03 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-02-19 01:22:03 (GMT) |
commit | d07fbb8fdf57c4af28679ad7c4b2542e78ca7218 (patch) | |
tree | 4d7beb423f33f30122a88797510de57559230e24 | |
parent | 437b300c6b28040ad87e4caf042e05f2c5f13c6d (diff) | |
parent | 9f74660bcf1e4cca577be99e54bc77b5df62b508 (diff) | |
download | linux-d07fbb8fdf57c4af28679ad7c4b2542e78ca7218.tar.xz |
Merge tag 'nfs-rdma-4.5-1' of git://git.linux-nfs.org/projects/anna/nfs-rdma
NFS: NFSoRDMA Client Bugfix
This patch fixes a bug where NFS v4.1 callbacks were returning
RPC_GARBAGE_ARGS to the server.
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
-rw-r--r-- | net/sunrpc/xprtrdma/backchannel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/backchannel.c b/net/sunrpc/xprtrdma/backchannel.c index cc1251d..2dcd764 100644 --- a/net/sunrpc/xprtrdma/backchannel.c +++ b/net/sunrpc/xprtrdma/backchannel.c @@ -341,6 +341,8 @@ void rpcrdma_bc_receive_call(struct rpcrdma_xprt *r_xprt, rqst->rq_reply_bytes_recvd = 0; rqst->rq_bytes_sent = 0; rqst->rq_xid = headerp->rm_xid; + + rqst->rq_private_buf.len = size; set_bit(RPC_BC_PA_IN_USE, &rqst->rq_bc_pa_state); buf = &rqst->rq_rcv_buf; |