]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: close socket directly from ceph_con_close()
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 23:45:49 +0000 (16:45 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:58 +0000 (18:15 -0700)
commitca66182616ee7d3e9a71b03017b1cea42f8fba63
treeef44731396059db4379b369f0315100c21638509
parentff658ff714a7f52a1963f561783547344c875f5d
libceph: close socket directly from ceph_con_close()

It is simpler to do this immediately, since we already hold the con mutex.
It also avoids the need to deal with a not-quite-CLOSED socket in con_work.

Signed-off-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c