From: Sage Weil Date: Mon, 25 Mar 2013 17:26:30 +0000 (-0700) Subject: libceph: wrap auth methods in a mutex X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9966076cdd952e19f2dd4854cd719be0d7cbebc;p=pandora-kernel.git libceph: wrap auth methods in a mutex The auth code is called from a variety of contexts, include the mon_client (protected by the monc's mutex) and the messenger callbacks (currently protected by nothing). Avoid chaos by protecting all auth state with a mutex. Nothing is blocking, so this should be simple and lightweight. Signed-off-by: Sage Weil Reviewed-by: Alex Elder --- Reading git-diff-tree failed