From: Sage Weil Date: Mon, 30 Jul 2012 23:24:37 +0000 (-0700) Subject: libceph: fix mutex coverage for ceph_con_close X-Git-Tag: v3.6-rc1~36^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c50c817566dfa4581f82373aac39f3e608a7dc8;p=pandora-kernel.git libceph: fix mutex coverage for ceph_con_close Hold the mutex while twiddling all of the state bits to avoid possible races. While we're here, make not of why we cannot close the socket directly. Signed-off-by: Sage Weil Reviewed-by: Alex Elder Reviewed-by: Yehuda Sadeh --- Reading git-diff-tree failed