Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

From: Matthew Wilcox
Date: Wed Dec 09 2020 - 10:09:42 EST


On Wed, Dec 09, 2020 at 03:46:28PM +0100, Stanislaw Gruszka wrote:
> At this point of release cycle we should probably go with revert,
> but I think the main problem is that BPF and ERROR_INJECTION use
> function that is not intended to be used externally. For external users
> add_to_page_cache_lru() and add_to_page_cache_locked() are exported
> and I think those should be used (see the patch below).

FWIW, I intend to do some consolidation/renaming in this area. I
trust that will not be a problem?