
26 Aug
2021
26 Aug
'21
12:39 a.m.
On Mon, Aug 23, 2021 at 08:36:45PM +0800, Huang Jianan wrote:
From: Huang Jianan huangjianan@oppo.com
In order to use the newest LZ4_decompress_safe_partial() which can now decode exactly the nb of bytes requested.
Signed-off-by: Huang Jianan huangjianan@oppo.com
fs/erofs/Makefile | 3 +- fs/erofs/lz4.c | 534 ++++++++++++++++++++++++++++++++++++++++++++++ fs/erofs/lz4.h | 5 + 3 files changed, 541 insertions(+), 1 deletion(-) create mode 100644 fs/erofs/lz4.c create mode 100644 fs/erofs/lz4.h
Why not use the existing lz4 support, or if it needs updating for new features, update it?
--
Tom