]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
pstore: Shut down worker when unregistering
authorKees Cook <keescook@chromium.org>
Mon, 6 Mar 2017 20:42:12 +0000 (12:42 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 16:21:38 +0000 (08:21 -0800)
commit6330d5534786d5315d56d558aa6d20740f97d80a
treeb081b7ec57184b7c5a9bffdfb64071f2cc234040
parente9a330c4289f2ba1ca4bf98c2b430ab165a8931b
pstore: Shut down worker when unregistering

When built as a module and running with update_ms >= 0, pstore will Oops
during module unload since the work timer is still running. This makes sure
the worker is stopped before unloading.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: stable@vger.kernel.org
fs/pstore/platform.c