pstore: Add lz4hc and 842 compression support
authorGeliang Tang <geliangtang@gmail.com>
Tue, 13 Feb 2018 06:40:39 +0000 (14:40 +0800)
committerKees Cook <keescook@chromium.org>
Tue, 6 Mar 2018 23:06:11 +0000 (15:06 -0800)
commit239b716199d9aff0d09444b0086e23aacd6bd445
tree0f8efe4127fc13cb10c624ee140840254e77a929
parent91ab883eb21325ad80f3473633f794c78ac87f51
pstore: Add lz4hc and 842 compression support

Currently, pstore has supported three compression algorithms: zlib,
lzo and lz4. This patch added two more compression algorithms: lz4hc
and 842.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
[kees: tweaked Kconfig help text slightly]
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/Kconfig
fs/pstore/platform.c