Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 1097044 ("pstore: Make spinlock per zone instead of global") Fixes: 76d5692 ("pstore: Correctly initialize spinlock and flags") Signed-off-by: Kees Cook <keescook@chromium.org> Cc: stable@vger.kernel.org
- Loading branch information