diff options
| author | Dan Magenheimer <[email protected]> | 2012-01-12 14:03:25 -0500 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2012-01-23 16:06:37 -0500 |
| commit | 91c6cc9b5c216bd067f9af2cc64fcbe190755865 (patch) | |
| tree | 83cbad6659c180ac8fbeca61382ac41ccbd7b382 /include/linux | |
| parent | 3167760f83899ccda312b9ad9306ec9e5dda06d4 (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: [email protected]: change "flush" to "invalidate", part 3]
Signed-off-by: Dan Magenheimer <[email protected]>
Cc: Kamezawa Hiroyuki <[email protected]>
Cc: Jan Beulich <[email protected]>
Acked-by: Seth Jennings <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Nitin Gupta <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Rik Riel <[email protected]>
Cc: Andrew Morton <[email protected]>
[v11: Remove the frontswap part]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cleancache.h | 11 |
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 { 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 |