From: Alex Elder Date: Mon, 1 Apr 2013 23:58:26 +0000 (-0500) Subject: libceph: drop mutex on error in handle_reply() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8058fd45039724695d5b67a574544452635d64a9;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed