]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: introduce generic decompression backend
authorGao Xiang <gaoxiang25@huawei.com>
Mon, 24 Jun 2019 07:22:55 +0000 (15:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jun 2019 01:44:39 +0000 (09:44 +0800)
commitd6c90688e3d0aaf27a27fd5541caf994e80e0ac3
tree94a41315c912d3c1395e4463a2c38c2684cc78c5
parentacb34dd0b0daec6c631830ef0e7c83396163ac69
staging: erofs: introduce generic decompression backend

This patch adds a new generic decompression framework
in order to replace the old LZ4-specific decompression code.

Even though LZ4 is still the only supported algorithm, yet
it is more cleaner and easy to integrate new algorithm than
the old almost hard-coded decompression backend.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/Makefile
drivers/staging/erofs/compress.h
drivers/staging/erofs/decompressor.c [new file with mode: 0644]