commit | 1874119664dafda3ef2ed9b51b4759a9540d4a1a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Aug 15 08:51:58 2013 +0300 |
committer | Sage Weil <sage@inktank.com> | Tue Aug 27 12:26:30 2013 -0700 |
tree | c0ef0813aeefd50703f2934abe752a2b4ebaad83 | |
parent | b314a90d8f3f1d16ec45744e5e2141ea6e14e034 [diff] |
libceph: fix error handling in handle_reply() We've tried to fix the error paths in this function before, but there is still a hidden goto in the ceph_decode_need() macro which goes to the wrong place. We need to release the "req" and unlock a mutex before returning. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sage Weil <sage@inktank.com>