libceph: drop connection refcounting for mon_client
authorSage Weil <sage@inktank.com>
Fri, 1 Jun 2012 03:27:50 +0000 (20:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:22 +0000 (11:38 -0800)
commita2b87615e2acfb851ec43603d0061f631381301a
tree29b5330ac144a2a44fe04e06f2b03346b4e766dd
parent31a84d83433edc79151e28762c1992c0708b222c
libceph: drop connection refcounting for mon_client

(cherry picked from commit ec87ef4309d33bd9c87a53bb5152a86ae7a65f25)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/mon_client.c