Skip to content
Commit e3f78d5e authored by Chao Yu's avatar Chao Yu Committed by Gao Xiang
Browse files

erofs: remove unneeded parameter



After commit 0615090c ("erofs: convert compressed files from
readpages to readahead"), add_to_page_cache_lru() was moved to mm
code, so that in below call path, no page will be cached into
@pagepool list or grabbed from @pagepool list:
- z_erofs_readpage
 - z_erofs_do_read_page
  - preload_compressed_pages
  - erofs_allocpage

Let's get rid of this unneeded @pagepool parameter.

Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20200917011821.22767-1-yuchao0@huawei.com


Reviewed-by: default avatarGao Xiang <hsiangkao@redhat.com>
Signed-off-by: default avatarGao Xiang <hsiangkao@redhat.com>
parent d578b46d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment