mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-10 12:20:09 +00:00
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>
3.8 KiB
3.8 KiB