]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: remove the fast path of per-CPU buffer decompression
authorYue Hu <huyue2@yulong.com>
Thu, 14 Oct 2021 06:57:44 +0000 (14:57 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 14 Oct 2021 16:14:26 +0000 (00:14 +0800)
commitbd00e063ea1b1eab4ef0304116209dbc76be9b16
tree509e1531d8aea4cef1d90d0d5ec567dd46772900
parent87a799989d15ec119f470890374f7bd919def84c
erofs: remove the fast path of per-CPU buffer decompression

As Xiang mentioned, such path has no real impact to our current
decompression strategy, remove it directly. Also, update the return
value of z_erofs_lz4_decompress() to 0 if success to keep consistent
with LZMA which will return 0 as well for that case.

Link: https://lore.kernel.org/r/20211014065744.1787-1-zbestahu@gmail.com
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/decompressor.c