commit | 0f665ceb71a20520bdce76fb63ad68c21841aa62 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed Apr 24 09:39:27 2019 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Thu Apr 25 15:02:32 2019 -0400 |
tree | cab2855a32d7526fafb478d42a527992b7d4daac | |
parent | bb93a1ae2bf4f6eb3cedf05a2ea4a2e6a80712e6 [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>