mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
pstore: Use dynamic spinlock initializer
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> Cc: stable@vger.kernel.org
This commit is contained in:
parent
3faf93543c
commit
e9a330c428
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue