mm: rename invalidate_mapping_pagevec to mapping_try_invalidate
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 21 Jun 2023 16:45:55 +0000 (17:45 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 23 Jun 2023 23:59:30 +0000 (16:59 -0700)
commit1a0fc811f5f5addf54499826bd1b6e34e917491c
tree8452f5dd9b0d782c10f5d1a775a84851dc02b26b
parent1e0877d58b1e22517d8939b22b963c043e6c63fd
mm: rename invalidate_mapping_pagevec to mapping_try_invalidate

We don't use pagevecs for the LRU cache any more, and we don't know that
the failed invalidations were due to the folio being in an LRU cache.  So
rename it to be more accurate.

Link: https://lkml.kernel.org/r/20230621164557.3510324-12-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/fadvise.c
mm/internal.h
mm/truncate.c