summaryrefslogtreecommitdiff
path: root/net/ceph/ceph_hash.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-03-25 10:26:30 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-20 11:58:47 -0700
commit7f259658b1f320b35040a14d7ace371b5cc15fbb (patch)
tree22b82fc7ded6e3e7ba868dbf2dbab13c2881ffcc /net/ceph/ceph_hash.c
parentaa80dd9dbe86743ae6e52c836f6ab1472c469927 (diff)
downloadlinux-3.10-7f259658b1f320b35040a14d7ace371b5cc15fbb.tar.gz
linux-3.10-7f259658b1f320b35040a14d7ace371b5cc15fbb.tar.bz2
linux-3.10-7f259658b1f320b35040a14d7ace371b5cc15fbb.zip
libceph: wrap auth methods in a mutex
commit e9966076cdd952e19f2dd4854cd719be0d7cbebc upstream. 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 <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ceph/ceph_hash.c')
0 files changed, 0 insertions, 0 deletions