diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-03-19 12:12:19 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-03-19 12:12:19 -0400 |
commit | 16c0cfa425b8e1488f7a1873bd112a7a099325f0 (patch) | |
tree | eeba5728a8072096279c55ffc10a5ca7ac0ddf05 /mm/filemap.c | |
parent | 94574d9a4c236e8bd19721b4adb0ea30ef446901 (diff) | |
parent | 072611ed1f291053a74b28b813d683a09495eba7 (diff) |
Merge branch 'stable/cleancache.v13' into linux-next
* stable/cleancache.v13:
mm: cleancache: Use __read_mostly as appropiate.
mm: cleancache: report statistics via debugfs instead of sysfs.
mm: zcache/tmem/cleancache: s/flush/invalidate/
mm: cleancache: s/flush/invalidate/
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 2 |
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; |