diff options
author | 2023-11-08 18:28:06 +0000 | |
---|---|---|
committer | 2023-12-10 16:51:38 -0800 | |
commit | 19369d866a8b89788cdc9b10c7b8c9b2777f806b (patch) | |
tree | 93c36e8b71f4dcf0c1b628d0437ee7dde5721132 /mm/page_alloc.c | |
parent | mm: convert __do_fault() to use a folio (diff) | |
download | wireguard-linux-19369d866a8b89788cdc9b10c7b8c9b2777f806b.tar.xz wireguard-linux-19369d866a8b89788cdc9b10c7b8c9b2777f806b.zip |
mm: use mapping_evict_folio() in truncate_error_page()
We already have the folio and the mapping, so replace the call to
invalidate_inode_page() with mapping_evict_folio().
Link: https://lkml.kernel.org/r/20231108182809.602073-4-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/page_alloc.c')
0 files changed, 0 insertions, 0 deletions