diff options
author | Andy Grover <andy.grover@oracle.com> | 2010-01-27 19:15:48 -0500 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-08 21:11:57 -0400 |
commit | d0ab25a83c4a08cd98b73a37d3f4c069f7b4f50b (patch) | |
tree | d21dad44f483e684c35209f61b905b53ae582050 /net/rds/rds.h | |
parent | 4324879df06ba4db01a0b455af2d003f117e6aa3 (diff) |
RDS: purge atomic resources too in rds_message_purge()
Add atomic_free_op function, analogous to rdma_free_op,
and call it in rds_message_purge().
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/rds/rds.h')
-rw-r--r-- | net/rds/rds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index bf2349da4db7..32b3d46aea36 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h | |||
@@ -745,6 +745,7 @@ int rds_cmsg_rdma_args(struct rds_sock *rs, struct rds_message *rm, | |||
745 | int rds_cmsg_rdma_map(struct rds_sock *rs, struct rds_message *rm, | 745 | int rds_cmsg_rdma_map(struct rds_sock *rs, struct rds_message *rm, |
746 | struct cmsghdr *cmsg); | 746 | struct cmsghdr *cmsg); |
747 | void rds_rdma_free_op(struct rds_rdma_op *ro); | 747 | void rds_rdma_free_op(struct rds_rdma_op *ro); |
748 | void rds_atomic_free_op(struct rm_atomic_op *ao); | ||
748 | void rds_rdma_send_complete(struct rds_message *rm, int wc_status); | 749 | void rds_rdma_send_complete(struct rds_message *rm, int wc_status); |
749 | void rds_atomic_send_complete(struct rds_message *rm, int wc_status); | 750 | void rds_atomic_send_complete(struct rds_message *rm, int wc_status); |
750 | int rds_cmsg_atomic(struct rds_sock *rs, struct rds_message *rm, | 751 | int rds_cmsg_atomic(struct rds_sock *rs, struct rds_message *rm, |