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/
This commit is contained in:
Konrad Rzeszutek Wilk
2012-03-19 12:12:19 -04:00
10 changed files with 89 additions and 121 deletions

View File

@@ -109,7 +109,7 @@ void invalidate_bdev(struct block_device *bdev)
/* 99% of the time, we don't need to flush the cleancache on the bdev.
* But, for the strange corners, lets be cautious
*/
cleancache_flush_inode(mapping);
cleancache_invalidate_inode(mapping);
}
EXPORT_SYMBOL(invalidate_bdev);