diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-03-01 17:11:53 -0500 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 21:11:58 -0400 |
commit | f8b3aaf2ba8ca9e27b47f8bfdff07c8b968f2c05 (patch) | |
tree | 42de574167e590ca2e413314b6486df916cd1f31 /net/rds/message.c | |
parent | d0ab25a83c4a08cd98b73a37d3f4c069f7b4f50b (diff) |
RDS: Remove struct rds_rdma_op
A big changeset, but it's all pretty dumb.
struct rds_rdma_op was already embedded in struct rm_rdma_op.
Remove rds_rdma_op and put its members in rm_rdma_op. Rename
members with "op_" prefix instead of "r_", for consistency.
Of course this breaks a lot, so fixup the code accordingly.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/message.c')
-rw-r--r-- | net/rds/message.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/rds/message.c b/net/rds/message.c index b53306c3e656..bca7eda6dde9 100644 --- a/net/rds/message.c +++ b/net/rds/message.c | |||
@@ -69,10 +69,10 @@ static void rds_message_purge(struct rds_message *rm) | |||
69 | } | 69 | } |
70 | rm->data.m_nents = 0; | 70 | rm->data.m_nents = 0; |
71 | 71 | ||
72 | if (rm->rdma.m_rdma_op.r_active) | 72 | if (rm->rdma.op_active) |
73 | rds_rdma_free_op(&rm->rdma.m_rdma_op); | 73 | rds_rdma_free_op(&rm->rdma); |
74 | if (rm->rdma.m_rdma_mr) | 74 | if (rm->rdma.op_rdma_mr) |
75 | rds_mr_put(rm->rdma.m_rdma_mr); | 75 | rds_mr_put(rm->rdma.op_rdma_mr); |
76 | 76 | ||
77 | if (rm->atomic.op_active) | 77 | if (rm->atomic.op_active) |
78 | rds_atomic_free_op(&rm->atomic); | 78 | rds_atomic_free_op(&rm->atomic); |