pstore: Select compression at runtime
authorKees Cook <keescook@chromium.org>
Tue, 6 Mar 2018 23:57:38 +0000 (15:57 -0800)
committerKees Cook <keescook@chromium.org>
Wed, 7 Mar 2018 20:43:35 +0000 (12:43 -0800)
commitfe1d475888eecf1319458ee916e642e3e5e41c28
treed975fba8225eec25ad2b3fd9ba5fd8e7ccfeb3dd
parent555974068ee533e8e0c6093ec7ca1682057aa4c1
pstore: Select compression at runtime

To allow for easier build test coverage and run-time testing, this allows
multiple compression algorithms to be built into pstore. Still only one
is supported to operate at a time (which can be selected at build time
or at boot time, similar to how LSMs are selected).

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