summaryrefslogtreecommitdiff
path: root/drivers/ide/ht6560b.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2016-02-18 14:04:22 (GMT)
committerKees Cook <keescook@chromium.org>2016-06-02 17:59:31 (GMT)
commit8cfc8ddc99df9509a46043b14af81f5c6a223eab (patch)
treefd5bb1b71a1c8418b672ccfa039babf84251b95a /drivers/ide/ht6560b.c
parent235f6d157d43a761052e643b8799f86fdc87b47f (diff)
downloadlinux-8cfc8ddc99df9509a46043b14af81f5c6a223eab.tar.xz
pstore: add lzo/lz4 compression support
Like zlib compression in pstore, this patch added lzo and lz4 compression support so that users can have more options and better compression ratio. The original code treats the compressed data together with the uncompressed ECC correction notice by using zlib decompress. The ECC correction notice is missing in the decompression process. The treatment also makes lzo and lz4 not working. So I treat them separately by using pstore_decompress() to treat the compressed data, and memcpy() to treat the uncompressed ECC correction notice. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/ide/ht6560b.c')
0 files changed, 0 insertions, 0 deletions