mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
erofs: clean up z_erofs_pcluster_readmore()
[ Upstream commit796e9149a2] `end` parameter is no needed since it's pointless for !backmost, we can handle it with backmost internally. And we only expand the trailing edge, so the newstart can be replaced with ->headoffset. Also, remove linux/prefetch.h inclusion since that is not used anymore after commit386292919c("erofs: introduce readmore decompression strategy"). Signed-off-by: Yue Hu <huyue2@coolpad.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20230525072605.17857-1-zbestahu@gmail.com [ Gao Xiang: update commit description. ] Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Stable-dep-of:99f7619a77("erofs: fix to add missing tracepoint in erofs_read_folio()") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c34a8b0083
commit
241d3c6f99
1 changed files with 12 additions and 15 deletions
Loading…
Add table
Add a link
Reference in a new issue