aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cleancache.h
diff options
context:
space:
mode:
authorDan Magenheimer <dan.magenheimer@oracle.com>2012-01-12 14:03:25 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-01-23 16:06:37 -0500
commit91c6cc9b5c216bd067f9af2cc64fcbe190755865 (patch)
tree83cbad6659c180ac8fbeca61382ac41ccbd7b382 /include/linux/cleancache.h
parent3167760f83899ccda312b9ad9306ec9e5dda06d4 (diff)
mm: zcache/tmem/cleancache: s/flush/invalidate/
Complete the renaming from "flush" to "invalidate" across both tmem frontends (cleancache and frontswap) and both tmem backends (Xen and zcache), as required by akpm. This change is completely cosmetic. [v10: no change] [v9: akpm@linux-foundation.org: change "flush" to "invalidate", part 3] Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Jan Beulich <JBeulich@novell.com> Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Hugh Dickins <hughd@google.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Chris Mason <chris.mason@oracle.com> Cc: Rik Riel <riel@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> [v11: Remove the frontswap part] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/linux/cleancache.h')
-rw-r--r--include/linux/cleancache.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/linux/cleancache.h b/include/linux/cleancache.h
index 66fb63b243a8..42e55deee757 100644
--- a/include/linux/cleancache.h
+++ b/include/linux/cleancache.h
@@ -28,14 +28,9 @@ struct cleancache_ops {
28 pgoff_t, struct page *); 28 pgoff_t, struct page *);
29 void (*put_page)(int, struct cleancache_filekey, 29 void (*put_page)(int, struct cleancache_filekey,
30 pgoff_t, struct page *); 30 pgoff_t, struct page *);
31 /* 31 void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
32 * NOTE: per akpm, flush_page, flush_inode and flush_fs will be 32 void (*invalidate_inode)(int, struct cleancache_filekey);
33 * renamed to invalidate_* in a later commit in which all 33 void (*invalidate_fs)(int);
34 * dependencies (i.e Xen, zcache) will be renamed simultaneously
35 */
36 void (*flush_page)(int, struct cleancache_filekey, pgoff_t);
37 void (*flush_inode)(int, struct cleancache_filekey);
38 void (*flush_fs)(int);
39}; 34};
40 35
41extern struct cleancache_ops 36extern struct cleancache_ops