erofs: introduce z_erofs_do_decompressed_bvec()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 15 Jul 2022 15:42:01 +0000 (23:42 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 21 Jul 2022 14:55:37 +0000 (22:55 +0800)
commit3fe96ee0f96d0b2117b0ef438e28c26655b370f8
treefdbcacae77e8896a0ac32aec0ee6a63c11cb3941
parentfe3e5914e6dc8db743fa587748ce1d9ecd4a5dba
erofs: introduce z_erofs_do_decompressed_bvec()

Both out_bvecs and in_bvecs share the common logic for decompressed
buffers. So let's make a helper for this.

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