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

From: Gao Xiang
Date: Thu Nov 08 2018 - 01:18:37 EST


Hi Chao,

On 2018/11/8 14:11, Chao Yu wrote:
> 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 for quickly confirming this :)

Thanks,
Gao Xiang

> Thanks,
>