libceph: encapsulate some messenger cleanup code
authorAlex Elder <elder@dreamhost.com>
Tue, 14 Feb 2012 20:05:33 +0000 (14:05 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:50 +0000 (10:47 -0500)
commit6173d1f02fb19c0fba02857ae4e1109b5ec95034
treec837bfe920220d138ba99d8fac2ac781bb2a44ac
parente0f43c9419c1900e5b50de4261e9686a45a0a2b8
libceph: encapsulate some messenger cleanup code

Define a helper function to perform various cleanup operations.  Use
it both in the exit routine and in the init routine in the event of
an error.

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