kernel_optimize_test/fs/pstore
Namhyung Kim e9e360b08a pstore: Protect unlink with read_mutex
When update_ms is set, pstore_get_records() will be called when there's
a new entry.  But unlink can be called at the same time and might
contend with the open-read-close loop.  Depending on the implementation
of platform driver, it may be safe or not.  But I think it'd be better
to protect those race in the first place.

Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
2016-11-15 16:34:31 -08:00
..
ftrace.c pstore: Use global ftrace filters for function trace filtering 2016-11-15 16:34:30 -08:00
inode.c pstore: Protect unlink with read_mutex 2016-11-15 16:34:31 -08:00
internal.h pstore: Add ftrace timestamp counter 2016-11-15 16:34:27 -08:00
Kconfig pstore: add lzo/lz4 compression support 2016-06-02 10:59:31 -07:00
Makefile pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
platform.c pstore: Actually give up during locking failure 2016-11-08 16:44:33 -08:00
pmsg.c pstore/pmsg: drop bounce buffer 2016-09-08 15:01:10 -07:00
ram_core.c pstore: Allow prz to control need for locking 2016-11-15 16:34:25 -08:00
ram.c pstore: Clarify context field przs as dprzs 2016-11-15 16:34:29 -08:00