summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorYue Hu <huyue2@coolpad.com>2023-05-24 09:39:44 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2023-05-29 10:54:50 +0300
commitef4b4b46c6aaf8edeea9a79320627fe10993f153 (patch)
treeeb263f504155fb1acb699b424a68b867cbbca801 /mm
parent597e2953ae9b4a391e883c1f1a4cda5878e2dbed (diff)
downloadlinux-ef4b4b46c6aaf8edeea9a79320627fe10993f153.tar.xz
erofs: remove the member readahead from struct z_erofs_decompress_frontend
The struct member is only used to add REQ_RAHEAD during I/O submission. So it is cleaner to pass it as a parameter than keep it in the struct. Also, rename function z_erofs_get_sync_decompress_policy() to z_erofs_is_sync_decompress() for better clarity and conciseness. Signed-off-by: Yue Hu <huyue2@coolpad.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20230524063944.1655-1-zbestahu@gmail.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions