summaryrefslogtreecommitdiffstats
path: root/mm/folio-compat.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2024-08-26 08:58:14 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-09-10 01:38:59 +0200
commit24f937796c1ac8d16947495c39ffff416f7125ee (patch)
tree719698e9d945c5f8bf8e4555c2de1e34362263ec /mm/folio-compat.c
parentmm: remove isolate_lru_page() (diff)
downloadlinux-24f937796c1ac8d16947495c39ffff416f7125ee.tar.xz
linux-24f937796c1ac8d16947495c39ffff416f7125ee.zip
mm: remove putback_lru_page()
There are no more callers of putback_lru_page(), remove it. Link: https://lkml.kernel.org/r/20240826065814.1336616-7-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Cc: Alistair Popple <apopple@nvidia.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/folio-compat.c')
-rw-r--r--mm/folio-compat.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/folio-compat.c b/mm/folio-compat.c
index 47b8cc245aa4..80746182e9e8 100644
--- a/mm/folio-compat.c
+++ b/mm/folio-compat.c
@@ -92,8 +92,3 @@ struct page *grab_cache_page_write_begin(struct address_space *mapping,
mapping_gfp_mask(mapping));
}
EXPORT_SYMBOL(grab_cache_page_write_begin);
-
-void putback_lru_page(struct page *page)
-{
- folio_putback_lru(page_folio(page));
-}