mm: zcache/tmem/cleancache: s/flush/invalidate/
[linux-2.6-block.git] / include / linux / cleancache.h
index 66fb63b243a8f418c6eaff8df1fbff965123ab9d..42e55deee7570e231017bd1cd589fb3dd641bfc1 100644 (file)
@@ -28,14 +28,9 @@ struct cleancache_ops {
                        pgoff_t, struct page *);
        void (*put_page)(int, struct cleancache_filekey,
                        pgoff_t, struct page *);
-       /*
-        * NOTE: per akpm, flush_page, flush_inode and flush_fs will be
-        * renamed to invalidate_* in a later commit in which all
-        * dependencies (i.e Xen, zcache) will be renamed simultaneously
-        */
-       void (*flush_page)(int, struct cleancache_filekey, pgoff_t);
-       void (*flush_inode)(int, struct cleancache_filekey);
-       void (*flush_fs)(int);
+       void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
+       void (*invalidate_inode)(int, struct cleancache_filekey);
+       void (*invalidate_fs)(int);
 };
 
 extern struct cleancache_ops