diff options
| author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-12-19 14:43:36 +0800 |
|---|---|---|
| committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2026-01-23 00:00:50 +0800 |
| commit | 48df6d1bc9d5e8d2d778c39d952c3d6cc39e5c73 (patch) | |
| tree | 17afddcb148e8aa1ee8c7109a0c6345e3f2c13cf /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 43ac93b5432c4aa826a19be95737af53c0f5c1e1 (diff) | |
erofs: improve LZ4 error strings
Just like what was done for other algorithms, let's propagate detailed
error reasons for LZ4 instead of just -EFSCORRUPTED to users:
"corrupted compressed data":
the compressed data is malformed or
destination buffer is not large enough
"unexpected end of stream":
the compressed stream ends normally, but without producing enough
decompressed data.
"compressed data start not found":
can be returned by z_erofs_fixup_insize().
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
