Skip to content

Commit 16c0cc0

Browse files
akpm00torvalds
authored andcommitted
revert "mm/filemap: add static for function __add_to_page_cache_locked"
Revert commit 3351b16 ("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 <jmforbes@linuxtx.org> Tested-by: Greg Thelen <gthelen@google.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Cc: Michal Kubecek <mkubecek@suse.cz> Cc: Alex Shi <alex.shi@linux.alibaba.com> Cc: Souptick Joarder <jrdr.linux@gmail.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Josef Bacik <josef@toxicpanda.com> Cc: Tony Luck <tony.luck@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 33dc961 commit 16c0cc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mm/filemap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask)
827827
}
828828
EXPORT_SYMBOL_GPL(replace_page_cache_page);
829829

830-
static noinline int __add_to_page_cache_locked(struct page *page,
830+
noinline int __add_to_page_cache_locked(struct page *page,
831831
struct address_space *mapping,
832832
pgoff_t offset, gfp_t gfp,
833833
void **shadowp)

0 commit comments

Comments
 (0)