xprtrdma: Move common wait_for_buffer_space call to parent function
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 May 2018 19:35:52 +0000 (15:35 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 1 Jun 2018 17:56:30 +0000 (13:56 -0400)
commited3aa7424566f35c51035748928575a35625e07e
treea6669e0651ec01a57d333ad8c8a25fba09b29ca4
parenta8f688ec437dc2045cc8f0c89fe877d5803850da
xprtrdma: Move common wait_for_buffer_space call to parent function

Clean up: The logic to wait for write space is common to a bunch of
the encoding helper functions. Lift it out and put it in the tail
of rpcrdma_marshal_req().

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