Alex Elder 8058fd4503 libceph: drop mutex on error in handle_reply()
The osd client mutex is acquired just before getting a reference to
a request in handle_reply().  However the error paths after that
don't drop the mutex before returning as they should.

Drop the mutex after dropping the request reference.  Also add a
bad_mutex label at that point and use it so the failed request
lookup case can be handled with the rest.

This resolves:
    http://tracker.ceph.com/issues/4615

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-05-01 21:17:51 -07:00
..
2013-03-10 05:19:26 -04:00
2013-02-21 12:05:51 -08:00
2013-02-21 12:05:51 -08:00
2013-03-08 00:35:44 -05:00
2013-02-21 12:05:51 -08:00
2013-04-10 09:00:51 -07:00
2012-09-26 21:10:25 -04:00
2013-02-21 12:05:51 -08:00
2013-02-10 19:41:08 -05:00