diff options
author | Alex Elder <elder@inktank.com> | 2013-04-02 01:58:26 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 06:17:51 +0200 |
commit | 8058fd45039724695d5b67a574544452635d64a9 (patch) | |
tree | e8b81188ec59a47e95846ac5857291554071cec8 /crypto/chainiv.c | |
parent | ceph: set up page array mempool with correct size (diff) | |
download | linux-8058fd45039724695d5b67a574544452635d64a9.tar.xz linux-8058fd45039724695d5b67a574544452635d64a9.zip |
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>
Diffstat (limited to 'crypto/chainiv.c')
0 files changed, 0 insertions, 0 deletions