aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index b66275757c28..8cd7e97eae1f 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -123,7 +123,7 @@ void __delete_from_page_cache(struct page *page)
123 if (PageUptodate(page) && PageMappedToDisk(page)) 123 if (PageUptodate(page) && PageMappedToDisk(page))
124 cleancache_put_page(page); 124 cleancache_put_page(page);
125 else 125 else
126 cleancache_flush_page(mapping, page); 126 cleancache_invalidate_page(mapping, page);
127 127
128 radix_tree_delete(&mapping->page_tree, page->index); 128 radix_tree_delete(&mapping->page_tree, page->index);
129 page->mapping = NULL; 129 page->mapping = NULL;