]> git.baikalelectronics.ru Git - kernel.git/commit
pstore: Refactor compression initialization
authorKees Cook <keescook@chromium.org>
Wed, 17 Oct 2018 21:00:12 +0000 (14:00 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 22 Oct 2018 14:11:58 +0000 (07:11 -0700)
commitadf50fcbf2a0c4c8d958160cd074d64aeef21f70
treec8399fe5e6cce07c706b28516a750b820ffc71ca
parent68ade06917269310f1a359aa8c860c6ec00a87f5
pstore: Refactor compression initialization

This refactors compression initialization slightly to better handle
getting potentially called twice (via early pstore_register() calls
and later pstore_init()) and improves the comments and reporting to be
more verbose.

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