1
0
Fork 0
remarkable-linux/fs/pstore
Kees Cook e10f7bd6a6 pstore: Use dynamic spinlock initializer
commit e9a330c428 upstream.

The per-prz spinlock should be using the dynamic initializer so that
lockdep can correctly track it. Without this, under lockdep, we get a
warning at boot that the lock is in non-static memory.

Fixes: 109704492e ("pstore: Make spinlock per zone instead of global")
Fixes: 76d5692a58 ("pstore: Correctly initialize spinlock and flags")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-06 18:59:43 -07: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
ftrace.c pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
inode.c fs: Replace CURRENT_TIME with current_time() for inode timestamps 2016-09-27 21:06:21 -04:00
internal.h pstore: Fix return type of pstore_is_mounted() 2015-10-22 10:57:33 -07:00
platform.c pstore: Shut down worker when unregistering 2017-05-20 14:28:42 +02:00
pmsg.c pstore/pmsg: drop bounce buffer 2016-09-08 15:01:10 -07:00
ram.c pstore: Allow prz to control need for locking 2017-08-06 18:59:43 -07:00
ram_core.c pstore: Use dynamic spinlock initializer 2017-08-06 18:59:43 -07:00