aboutsummaryrefslogtreecommitdiff
path: root/fs/erofs/zdata.c
diff options
context:
space:
mode:
authorGao Xiang2023-06-28 00:12:40 +0800
committerGao Xiang2023-07-12 00:50:15 +0800
commitc5539762f32e97c5e16215fa1336e32095b8b0fd (patch)
treee2452978e199cf04932d815a1bb30fd57cce9803 /fs/erofs/zdata.c
parent123ec246ebe323d468c5ca996700ea4739d20ddf (diff)
erofs: simplify z_erofs_transform_plain()
Use memcpy_to_page() instead of open-coding them. In addition, add a missing flush_dcache_page() even though almost all modern architectures clear `PG_dcache_clean` flag for new file cache pages so that it doesn't change anything in practice. Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Yue Hu <huyue2@coolpad.com> Reviewed-by: Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20230627161240.331-2-hsiangkao@linux.alibaba.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/zdata.c')
0 files changed, 0 insertions, 0 deletions