Skip to content
Commit 5587a817 authored by Al Viro's avatar Al Viro Committed by Gao Xiang
Browse files

z_erofs_pcluster_begin(): don't bother with rounding position down



... and be more idiomatic when calculating ->pageofs_in.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20240425200017.GF1031757@ZenIV


[ Gao Xiang: don't use `offset_in_page(mptr)` due to EROFS_NO_KMAP. ]
Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent 4afe6b8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment