summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-06-29 02:41:40 +0200
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-06-29 14:51:05 +0200
commit6ffcd825e7d0416d78fd41cd5b7856a78122cc8c (patch)
tree57301a2634159d91b2d83c03b0713b80840e8945 /mm/shmem.c
parentmm: Account dirty folios properly during splits (diff)
downloadlinux-6ffcd825e7d0416d78fd41cd5b7856a78122cc8c.tar.xz
linux-6ffcd825e7d0416d78fd41cd5b7856a78122cc8c.zip
mm: Remove __delete_from_page_cache()
This wrapper is no longer used. Remove it and all references to it. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index a6f565308133..b42dfb01c634 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -392,7 +392,7 @@ void shmem_uncharge(struct inode *inode, long pages)
struct shmem_inode_info *info = SHMEM_I(inode);
unsigned long flags;
- /* nrpages adjustment done by __delete_from_page_cache() or caller */
+ /* nrpages adjustment done by __filemap_remove_folio() or caller */
spin_lock_irqsave(&info->lock, flags);
info->alloced -= pages;