diff options
author | Matthew Wilcox (Oracle) | 2023-11-08 18:28:09 +0000 |
---|---|---|
committer | Andrew Morton | 2023-12-10 16:51:39 -0800 |
commit | 2033c98cce666b0d125ae956613ab5111bb8d202 (patch) | |
tree | a0de05f48e2f2bff7250e1073b4414b8dd217149 /mm/internal.h | |
parent | 761d79fbad2a424a240a351b898b54eb674d3bdc (diff) |
mm: remove invalidate_inode_page()
All callers are now converted to call mapping_evict_folio().
Link: https://lkml.kernel.org/r/20231108182809.602073-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
-rw-r--r-- | mm/internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/internal.h b/mm/internal.h index 7d18094e102d..2bc9ff8db393 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -139,7 +139,6 @@ int truncate_inode_folio(struct address_space *mapping, struct folio *folio); bool truncate_inode_partial_folio(struct folio *folio, loff_t start, loff_t end); long mapping_evict_folio(struct address_space *mapping, struct folio *folio); -long invalidate_inode_page(struct page *page); unsigned long mapping_try_invalidate(struct address_space *mapping, pgoff_t start, pgoff_t end, unsigned long *nr_failed); |