rds: Fix reference counting on the for xmit_atomic and xmit_rdma
authorChris Mason <chris.mason@oracle.com>
Tue, 11 May 2010 23:15:35 +0000 (16:15 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:15:13 +0000 (18:15 -0700)
commit1cc2228c599f173d77000a250bf0541294e1a7be
treecc84662c1fd550274e8bba759074873b7c8e017d
parentbcf50ef2ce3c5d8f2fe995259da16677898cb300
rds: Fix reference counting on the for xmit_atomic and xmit_rdma

This makes sure we have the proper number of references in
rds_ib_xmit_atomic and rds_ib_xmit_rdma.  We also consistently
drop references the same way for all message types as the IOs end.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
net/rds/ib_send.c
net/rds/send.c