]> 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)
commita3dd775e5994c6c55c731686c65ffe7452185f72
treec8399fe5e6cce07c706b28516a750b820ffc71ca
parentabc0167ab433ddb12eaf4a529297bee1608ee124
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