summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtrdma/rpc_rdma.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-04-24 09:39:27 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-04-25 15:02:32 -0400
commit0f665ceb71a20520bdce76fb63ad68c21841aa62 (patch)
treecab2855a32d7526fafb478d42a527992b7d4daac /net/sunrpc/xprtrdma/rpc_rdma.c
parentbb93a1ae2bf4f6eb3cedf05a2ea4a2e6a80712e6 (diff)
xprtrdma: De-duplicate "allocate new, free old regbuf"
Clean up by providing an API to do this common task. At this point, the difference between rpcrdma_get_sendbuf and rpcrdma_get_recvbuf has become tiny. These can be collapsed into a single helper. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/rpc_rdma.c')
0 files changed, 0 insertions, 0 deletions