diff options
author | Dan Magenheimer <dan.magenheimer@oracle.com> | 2012-01-12 14:03:25 -0500 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2016-06-05 21:21:31 +0200 |
commit | 5c063d0c81dc5778c6319bad17b03666e71c8343 (patch) | |
tree | 0aacb4ce2308b8befbde2ef999aba7d3b3c32163 /include | |
parent | e4de8c318d55eba3a29c4ee5a3a540954299d649 (diff) | |
download | kernel_samsung_espresso10-5c063d0c81dc5778c6319bad17b03666e71c8343.zip kernel_samsung_espresso10-5c063d0c81dc5778c6319bad17b03666e71c8343.tar.gz kernel_samsung_espresso10-5c063d0c81dc5778c6319bad17b03666e71c8343.tar.bz2 |
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>
Conflicts:
drivers/xen/tmem.c
include/linux/cleancache.h
Change-Id: Id9661e5fc4bb6f416129f38c1e3df80319653041
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cleancache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/cleancache.h b/include/linux/cleancache.h index 04ffb2e..1ccdcea 100644 --- a/include/linux/cleancache.h +++ b/include/linux/cleancache.h @@ -28,9 +28,9 @@ struct cleancache_ops { pgoff_t, struct page *); void (*put_page)(int, struct cleancache_filekey, pgoff_t, struct page *); - 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 |