libceph: drop connection refcounting for mon_client
authorSage Weil <sage@inktank.com>
Fri, 1 Jun 2012 03:27:50 +0000 (20:27 -0700)
committerAlex Elder <elder@dreamhost.com>
Wed, 6 Jun 2012 14:23:54 +0000 (09:23 -0500)
commitec87ef4309d33bd9c87a53bb5152a86ae7a65f25
treef29f8f22633a61d8183afc889f866268a460225e
parent67130934fb579fdf0f2f6d745960264378b57dc8
libceph: drop connection refcounting for mon_client

All references to the embedded ceph_connection come from the msgr
workqueue, which is drained prior to mon_client destruction.  That
means we can ignore con refcounting entirely.

Signed-off-by: Sage Weil <sage@newdream.net>
Reviewed-by: Alex Elder <elder@inktank.com>
net/ceph/mon_client.c