summaryrefslogtreecommitdiff
path: root/fs/pstore/platform.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-03-05 22:08:58 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-20 14:49:51 +0200
commited8834ea4f43cf7854de62f8985b01c088ba8a75 (patch)
treefd8776290b6ebcf378e5ea0caf485eb04968c066 /fs/pstore/platform.c
parentf25c78c879fac44e549918f3b7201c757201cc9d (diff)
pstore: Use dynamic spinlock initializer
commit e9a330c4289f2ba1ca4bf98c2b430ab165a8931b 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: 109704492ef6 ("pstore: Make spinlock per zone instead of global") Fixes: 76d5692a5803 ("pstore: Correctly initialize spinlock and flags") Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/pstore/platform.c')
0 files changed, 0 insertions, 0 deletions