diff options
author | Yue Hu <[email protected]> | 2023-05-24 14:39:44 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2023-05-29 15:54:50 +0800 |
commit | ef4b4b46c6aaf8edeea9a79320627fe10993f153 (patch) | |
tree | eb263f504155fb1acb699b424a68b867cbbca801 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 597e2953ae9b4a391e883c1f1a4cda5878e2dbed (diff) |
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 <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions