]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libceph: clear CONNECTING in ceph_con_close()
authorAlex Elder <elder@inktank.com>
Thu, 21 Jun 2012 02:53:53 +0000 (21:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:27 +0000 (11:38 -0800)
commit2a281c7aa696af085db44154d053a169e4b07449
treeaa7d31e193a964f885e66e0ff1083786a60f5d64
parent8a62c3339d5455c46c1da1e9fb9b60df20e59905
libceph: clear CONNECTING in ceph_con_close()

(cherry picked from commit bb9e6bba5d8b85b631390f8dbe8a24ae1ff5b48a)

A connection that is closed will no longer be connecting.  So
clear the CONNECTING state bit in ceph_con_close().  Similarly,
if the socket has been closed we no longer are in connecting
state (a new connect sequence will need to be initiated).

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