xprtrdma: Clean up rpcrdma_prepare_readch()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 5 Feb 2021 16:31:34 +0000 (11:31 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 5 Feb 2021 20:54:03 +0000 (15:54 -0500)
commit586a0787ce35f2e32d399b7e344e634e07de2997
tree133e25d443369d9f1eb9ee6fe0f26b8c916f7dc3
parentc30f259a213802d5f4440fbb02e73b3b03403049
xprtrdma: Clean up rpcrdma_prepare_readch()

Since commit 9ed5af268e88 ("SUNRPC: Clean up the handling of page
padding in rpc_prepare_reply_pages()") [Dec 2020] the NFS client
passes payload data to the transport with the padding in xdr->pages
instead of in the send buffer's tail kvec. There's no need for the
extra logic to advance the base of the tail kvec because the upper
layer no longer places XDR padding there.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c