erofs: introduce struct z_erofs_decompress_backend
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 15 Jul 2022 15:41:59 +0000 (23:41 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 21 Jul 2022 14:55:22 +0000 (22:55 +0800)
commit4f05687fd7036473605a161ca47a2cf9fd3cbfc5
tree19a329101325918191be4ea05311819d70821465
parente73681877d4c3a8e28c8416300c36b10d4d6e9c1
erofs: introduce struct z_erofs_decompress_backend

Let's introduce struct z_erofs_decompress_backend in order to pass
on the decompression backend context between helper functions more
easier and avoid too many arguments.

Acked-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220715154203.48093-13-hsiangkao@linux.alibaba.com
fs/erofs/zdata.c
fs/erofs/zdata.h