summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/xprt_rdma.h
diff options
context:
space:
mode:
authorChuck Lever2015-05-26 17:51:37 +0200
committerAnna Schumaker2015-06-12 19:10:36 +0200
commitfed171b35c7c0777fa0d6aeb3f25cc9b0d5f56ad (patch)
treefd08c92887f2b60e154d4797f9527c7ba7e8dc74 /net/sunrpc/xprtrdma/xprt_rdma.h
parentxprtrdma: Warn when there are orphaned IB objects (diff)
downloadkernel-qcow2-linux-fed171b35c7c0777fa0d6aeb3f25cc9b0d5f56ad.tar.gz
kernel-qcow2-linux-fed171b35c7c0777fa0d6aeb3f25cc9b0d5f56ad.tar.xz
kernel-qcow2-linux-fed171b35c7c0777fa0d6aeb3f25cc9b0d5f56ad.zip
xprtrdma: Replace rpcrdma_rep::rr_buffer with rr_rxprt
Clean up: Instead of carrying a pointer to the buffer pool and the rpc_xprt, carry a pointer to the controlling rpcrdma_xprt. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Tested-By: Devesh Sharma <devesh.sharma@avagotech.com> Reviewed-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r--net/sunrpc/xprtrdma/xprt_rdma.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h
index 78e0b8beaa36..c3d57c0fd4a5 100644
--- a/net/sunrpc/xprtrdma/xprt_rdma.h
+++ b/net/sunrpc/xprtrdma/xprt_rdma.h
@@ -173,8 +173,7 @@ struct rpcrdma_buffer;
struct rpcrdma_rep {
unsigned int rr_len;
- struct rpcrdma_buffer *rr_buffer;
- struct rpc_xprt *rr_xprt;
+ struct rpcrdma_xprt *rr_rxprt;
void (*rr_func)(struct rpcrdma_rep *);
struct list_head rr_list;
struct rpcrdma_regbuf *rr_rdmabuf;