Re: [PATCH v2 2/2] fs: kill add_to_page_cache_locked()

2020-10-21 Thread Matthew Wilcox
On Wed, Oct 21, 2020 at 03:57:45PM -0400, Kent Overstreet wrote: > } > -ALLOW_ERROR_INJECTION(__add_to_page_cache_locked, ERRNO); > +ALLOW_ERROR_INJECTION(__add_to_page_cache, ERRNO); [..] > +int add_to_page_cache(struct page *page, struct address_space *mapping, > + pgoff_t

[PATCH v2 2/2] fs: kill add_to_page_cache_locked()

2020-10-21 Thread Kent Overstreet
No longer has any users, so remove it. Signed-off-by: Kent Overstreet --- include/linux/pagemap.h | 20 ++--- mm/filemap.c| 64 - 2 files changed, 33 insertions(+), 51 deletions(-) diff --git a/include/linux/pagemap.h