z_erofs_pcluster_begin(): don't bother with rounding position down
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 25 Apr 2024 20:00:17 +0000 (21:00 +0100)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Fri, 17 May 2024 17:53:04 +0000 (01:53 +0800)
commit5587a8172eb6040e388c3fc9fa6553b99510da9e
treed7c78e5e123712df87d18f8b963c86b28b84dcea
parent4afe6b8d21e5ff644fedd7db5673fe5a48b177b7
z_erofs_pcluster_begin(): don't bother with rounding position down

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

Signed-off-by: Al 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: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/zdata.c