From: Dan Carpenter Date: Thu, 15 Aug 2013 05:51:58 +0000 (+0300) Subject: libceph: fix error handling in handle_reply() X-Git-Tag: v3.12-rc1~90^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1874119664dafda3ef2ed9b51b4759a9540d4a1a;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed