[PATCH] erofs: clean up z_erofs_pcluster_readmore()
Gao Xiang
hsiangkao at linux.alibaba.com
Thu May 25 20:34:13 AEST 2023
On 2023/5/25 00:26, Yue Hu wrote:
> From: Yue Hu <huyue2 at coolpad.com>
>
> 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 at coolpad.com>
Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Will test it with the following bulk later.
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list