]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ceph/mds_client.c
ceph: remove bad calls to ceph_con_shutdown
authorSage Weil <sage@newdream.net>
Wed, 18 Nov 2009 19:22:36 +0000 (11:22 -0800)
committerSage Weil <sage@newdream.net>
Wed, 18 Nov 2009 19:29:42 +0000 (11:29 -0800)
commit42ce56e50d948fc7c1c8c3a749ee5a21a7e134f6
treed9c65553d783b2dd0fff7489be15e314fa78203f
parent11ea8eda064aa4dc6e44a6dade1891b69ebd5255
ceph: remove bad calls to ceph_con_shutdown

We want to ceph_con_close when we're done with the connection, before
the ref count reaches 0.  Once it does, do not call ceph_con_shutdown,
as that takes the con mutex and may sleep, and besides that is
unnecessary.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c
fs/ceph/messenger.h
fs/ceph/osd_client.c