diff options
author | Andrew Morton <[email protected]> | 2020-12-11 13:36:27 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-11 14:02:14 -0800 |
commit | 16c0cc0ce3059e315a0aab6538061d95a6612589 (patch) | |
tree | 88dfa5c125645ab511774d003bf0ba5b73d15b12 | |
parent | 33dc9614dc208291d0c4bcdeb5d30d481dcd2c4c (diff) |
revert "mm/filemap: add static for function __add_to_page_cache_locked"
Revert commit 3351b16af494 ("mm/filemap: add static for function
__add_to_page_cache_locked") due to incompatibility with
ALLOW_ERROR_INJECTION which result in build errors.
Link: https://lkml.kernel.org/r/CAADnVQJ6tmzBXvtroBuEH6QA0H+q7yaSKxrVvVxhqr3KBZdEXg@mail.gmail.com
Tested-by: Justin Forbes <[email protected]>
Tested-by: Greg Thelen <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Michal Kubecek <[email protected]>
Cc: Alex Shi <[email protected]>
Cc: Souptick Joarder <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Tony Luck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 331f4261d723..0b2067b3c328 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -827,7 +827,7 @@ int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask) } 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) |