From: Sage Weil Date: Mon, 30 Jul 2012 23:21:40 +0000 (-0700) Subject: libceph: protect ceph_con_open() with mutex X-Git-Tag: v3.6-rc1~36^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5469155f2bc83bb2c88b0a0370c3d54d87eed06e;p=pandora-kernel.git libceph: protect ceph_con_open() with mutex Take the con mutex while we are initiating a ceph open. This is necessary because the may have previously been in use and then closed, which could result in a racing workqueue running con_work(). Signed-off-by: Sage Weil Reviewed-by: Yehuda Sadeh Reviewed-by: Alex Elder --- Reading git-diff-tree failed