libceph: use con get/put methods
authorSage Weil <sage@inktank.com>
Thu, 21 Jun 2012 19:47:08 +0000 (12:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:25 +0000 (11:38 -0800)
commit1c623b046a6c72666d81afa004f8bf7f70cd4391
tree8fa31cb8a39ff8ec6abf75013662797345f95653
parent8124d55a2d2c8d738c6ac5b95e6171fe3d1b5af3
libceph: use con get/put methods

(cherry picked from commit 36eb71aa57e6a33d61fd90a2fd87f00c6844bc86)

The ceph_con_get/put() helpers manipulate the embedded con ref
count, which isn't used now that ceph_connections are embedded in
other structures.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/messenger.c