]> git.baikalelectronics.ru Git - kernel.git/commit
pstore: Avoid race in module unloading
authorKees Cook <keescook@chromium.org>
Sat, 4 Mar 2017 01:45:38 +0000 (17:45 -0800)
committerKees Cook <keescook@chromium.org>
Tue, 7 Mar 2017 16:21:38 +0000 (08:21 -0800)
commitefb514b2401066427bcec585b82558e9cb4814bb
treef3d03fec8d2693cd9704514d645c81bde6db6312
parent28c7c74f804e7d4d5f56104995c7d22e3977b520
pstore: Avoid race in module unloading

Technically, it might be possible for struct pstore_info to go out of
scope after the module_put(), so report the backend name first.

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