xprtrdma: Refactor rpcrdma_buffer_create() and rpcrdma_buffer_destroy()
authorChuck Lever <chuck.lever@oracle.com>
Wed, 21 Jan 2015 16:03:52 +0000 (11:03 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 30 Jan 2015 15:47:48 +0000 (10:47 -0500)
commit1392402c405a75de1cdc658d36c6007ea1c037de
tree247d3def284df947cc7812c3212aa9a61bb0ed41
parentac920d04a7f307bfd7633f60abe33fb626f6ec83
xprtrdma: Refactor rpcrdma_buffer_create() and rpcrdma_buffer_destroy()

Move the details of how to create and destroy rpcrdma_req and
rpcrdma_rep structures into helper functions.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c