svcrdma: Refactor svc_rdma_dma_map_buf
authorChuck Lever <[email protected]>
Mon, 7 May 2018 19:27:53 +0000 (15:27 -0400)
committerJ. Bruce Fields <[email protected]>
Fri, 11 May 2018 19:48:57 +0000 (15:48 -0400)
commitf016f305f98159a9131ce200ed3b4ed92133012c
tree9bfc74f914f97c3710de1d398b006582fede58c3
parenteb5d7a622e0bbe3fd316b2325d3840a0e030a3c4
svcrdma: Refactor svc_rdma_dma_map_buf

Clean up: svc_rdma_dma_map_buf does mostly the same thing as
svc_rdma_dma_map_page, so let's fold these together.

Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_sendto.c