Commit bf41e53e authored by Alexi Demers's avatar Alexi Demers Committed by Anas Nashif
Browse files

disk: disk_access: changed mutex for a spinlock



disk_access functions were called from an interupt context, thus
crashing on mutexes (no sleep is allowed in interrupt context).
The usage of a spinlock is permitted. The functions guarded by
the spinlock are executed very quickly anyway, so the spinlock
is applicable.

Signed-off-by: default avatarAlexi Demers <alexi.demers@axceta.com>
parent 32481b64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment