Fix bcachefs patchset application on 5.8.18 and 5.9.3

This commit is contained in:
Tk-Glitch
2020-11-01 20:03:52 +01:00
parent b8cccaa89a
commit 375792d347
3 changed files with 19 additions and 11 deletions

View File

@@ -69686,10 +69686,10 @@ index 385759c4ce4b..5ca0ff7b9357 100644
}
EXPORT_SYMBOL_GPL(replace_page_cache_page);
-static int __add_to_page_cache_locked(struct page *page,
- struct address_space *mapping,
- pgoff_t offset, gfp_t gfp_mask,
- void **shadowp)
-noinline int __add_to_page_cache_locked(struct page *page,
- struct address_space *mapping,
- pgoff_t offset, gfp_t gfp_mask,
- void **shadowp)
+static int add_to_page_cache_vec(struct page **pages, unsigned nr_pages,
+ struct address_space *mapping,
+ pgoff_t index, gfp_t gfp_mask,