]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: move ceph_con_send() closed check under the con mutex
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 22:34:04 +0000 (15:34 -0700)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:57 +0000 (18:15 -0700)
commitb0a221ce488f876b72a0c667d6625fdb8f8cc3ff
tree4ffe59cd04d00fe0835256065b5b08a7c5505d1b
parent17c6f9a85580589f721a2d951716fa114a9e9740
libceph: move ceph_con_send() closed check under the con mutex

Take the con mutex before checking whether the connection is closed to
avoid racing with someone else closing it.

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