aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorSage Weil <[email protected]>2013-03-25 10:26:30 -0700
committerSage Weil <[email protected]>2013-05-01 21:17:15 -0700
commite9966076cdd952e19f2dd4854cd719be0d7cbebc (patch)
treec65c356996fcb0b58c5a9353011ae1cdc54ac577 /lib/mpi/mpi-bit.c
parent27859f9773e4a0b2042435b13400ee2c891a61f4 (diff)
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 <[email protected]> Reviewed-by: Alex Elder <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions