Commit bed20ed1 authored by Yue Hu's avatar Yue Hu Committed by Treehugger Robot
Browse files

UPSTREAM: erofs: clean up z_erofs_pcluster_readmore()



`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 commit 38629291 ("erofs: introduce readmore decompression
strategy").

Signed-off-by: default avatarYue Hu <huyue2@coolpad.com>
Reviewed-by: default avatarGao 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: default avatarGao Xiang <hsiangkao@linux.alibaba.com>

Bug: 318378021
(cherry picked from commit 796e9149)
Change-Id: I9412c4111800077c876a43c4256ce9760a7d902e
Signed-off-by: default avatarSandeep Dhavale <dhavale@google.com>
parent 5e861fa9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment