Re: [PATCH] erofs: clean up z_erofs_pcluster_readmore()
From: Gao Xiang
Date: Thu May 25 2023 - 06:34:26 EST
On 2023/5/25 00:26, Yue Hu wrote:
From: Yue Hu <huyue2@xxxxxxxxxxx>
No need end parameter since it's pointless for !backmost, we can get it
for backmost internally. And we only expand the trailing edge, so the
newstart can be replaced with ->headoffset.
Also, remove linux/prefetch.h that is not used anymore after commit
386292919c25 ("erofs: introduce readmore decompression strategy").
Signed-off-by: Yue Hu <huyue2@xxxxxxxxxxx>
Reviewed-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>
Will test it with the following bulk later.
Thanks,
Gao Xiang