Re: [PATCH] staging: erofs: use the new LZ4_decompress_safe_partial()

From: Chao Yu
Date: Thu Nov 08 2018 - 01:12:04 EST


On 2018/11/8 12:00, Gao Xiang wrote:
> LZ4_decompress_safe_partial() can now decode exactly the nb of bytes
> requested after the upstreamed commit 2209fda323e2 ("lib/lz4: update LZ4
> decompressor module"), remove the erofs hacked lz4 decompression code.
>
> A more cleaned compressor wrapper will be introduced in the subsequent
> patches in order to prepare for supporting multiple compression algorithms.
>
> Signed-off-by: Gao Xiang <gaoxiang25@xxxxxxxxxx>
> ---
>
> Hi Chao,
> Could you please kindly confirm (review) this before merging into the staging tree?

Looks good to me.

Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>

Thanks,