Home
last modified time | relevance | path

Searched hist:"45 e286b0329810fc1951c5cdbcfd3728c7d162c9" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/tee/
H A Dtee_ree_fs.c45e286b0329810fc1951c5cdbcfd3728c7d162c9 Fri May 18 16:58:34 UTC 2018 Volodymyr Babchuk <vlad.babchuk@gmail.com> tee_ree_fs: avoid race condition between fh usage/closing

It is possible that one core will call ree_fs_close_primitive()
while another is calling ree_fs_read_primitive(). This patch
prevents this by putting ree_fs_close_primitive under mutex.

Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>