mirror of https://github.com/OpenIPC/firmware.git
13 lines
521 B
Diff
13 lines
521 B
Diff
diff -drupN a/mm/readahead.c b/mm/readahead.c
|
|
--- a/mm/readahead.c 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/mm/readahead.c 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -81,7 +81,7 @@ static void read_cache_pages_invalidate_
|
|
* Hides the details of the LRU cache etc from the filesystems.
|
|
*/
|
|
int read_cache_pages(struct address_space *mapping, struct list_head *pages,
|
|
- int (*filler)(void *, struct page *), void *data)
|
|
+ int (*filler)(struct file *, struct page *), void *data)
|
|
{
|
|
struct page *page;
|
|
int ret = 0;
|