erofs: move preparation logic into z_erofs_pcluster_begin()
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 17 Aug 2023 08:28:08 +0000 (16:28 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 23 Aug 2023 15:43:15 +0000 (23:43 +0800)
commitaeebae9d77217709f8ae3edb0cd7858ec8c7a9d6
tree876d42a5920c91b3e1fe61dcc8d929bfc2483985
parentdcba1b232e26ebadbd215728199455d38a59253e
erofs: move preparation logic into z_erofs_pcluster_begin()

Some preparation logic should be part of z_erofs_pcluster_begin()
instead of z_erofs_do_read_page().  Let's move now.

Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230817082813.81180-3-hsiangkao@linux.alibaba.com
fs/erofs/zdata.c