From: Alex Elder Date: Sat, 2 Mar 2013 00:00:14 +0000 (-0600) Subject: libceph: drop mutex while allocating a message X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~234 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d866d1c31110db177cbd0636b95c4cb32ca2c6e;p=pandora-kernel.git libceph: drop mutex while allocating a message In ceph_con_in_msg_alloc(), if no alloc_msg method is defined for a connection a new message is allocated with ceph_msg_new(). Drop the mutex before making this call, and make sure we're still connected when we get it back again. This is preparing for the next patch, which ensures all connections define an alloc_msg method, and then handles them all the same way. Signed-off-by: Alex Elder Reviewed-by: Greg Farnum --- Reading git-diff-tree failed