patch to fix compilation issue on 5.10-rc7 (#135)

This commit is contained in:
lr1729
2020-12-08 02:58:17 -08:00
committed by GitHub
parent 14065d6856
commit df574a78ab
3 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/mm/filemap.c 2020-12-07 01:16:40.233503592 -0800
+++ b/mm/filemap.c 2020-12-07 01:16:05.211387455 -0800
@@ -827,7 +827,7 @@
}
EXPORT_SYMBOL_GPL(replace_page_cache_page);
-static noinline int __add_to_page_cache_locked(struct page *page,
+noinline int __add_to_page_cache_locked(struct page *page,
struct address_space *mapping,
pgoff_t offset, gfp_t gfp,
void **shadowp)