diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 22:52:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 22:52:47 -0400 |
commit | aab008db8063364dc3c8ccf4981c21124866b395 (patch) | |
tree | 72914203f4decb023efdaabd0301a62d742dfa8c /drivers/xen | |
parent | 4f5b1affdda3e0c48cac674182f52004137b0ffc (diff) | |
parent | 16c0cfa425b8e1488f7a1873bd112a7a099325f0 (diff) |
Merge tag 'stable/for-linus-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/mm
Pull cleancache changes from Konrad Rzeszutek Wilk:
"This has some patches for the cleancache API that should have been
submitted a _long_ time ago. They are basically cleanups:
- rename of flush to invalidate
- moving reporting of statistics into debugfs
- use __read_mostly as necessary.
Oh, and also the MAINTAINERS file change. The files (except the
MAINTAINERS file) have been in #linux-next for months now. The late
addition of MAINTAINERS file is a brain-fart on my side - didn't
realize I needed that just until I was typing this up - and I based
that patch on v3.3 - so the tree is on top of v3.3."
* tag 'stable/for-linus-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/mm:
MAINTAINERS: Adding cleancache API to the list.
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/
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/tmem.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/xen/tmem.c b/drivers/xen/tmem.c index d369965e8f8a..17d9e37beba4 100644 --- a/drivers/xen/tmem.c +++ b/drivers/xen/tmem.c | |||
@@ -242,9 +242,9 @@ __setup("nocleancache", no_cleancache); | |||
242 | static struct cleancache_ops tmem_cleancache_ops = { | 242 | static struct cleancache_ops tmem_cleancache_ops = { |
243 | .put_page = tmem_cleancache_put_page, | 243 | .put_page = tmem_cleancache_put_page, |
244 | .get_page = tmem_cleancache_get_page, | 244 | .get_page = tmem_cleancache_get_page, |
245 | .flush_page = tmem_cleancache_flush_page, | 245 | .invalidate_page = tmem_cleancache_flush_page, |
246 | .flush_inode = tmem_cleancache_flush_inode, | 246 | .invalidate_inode = tmem_cleancache_flush_inode, |
247 | .flush_fs = tmem_cleancache_flush_fs, | 247 | .invalidate_fs = tmem_cleancache_flush_fs, |
248 | .init_shared_fs = tmem_cleancache_init_shared_fs, | 248 | .init_shared_fs = tmem_cleancache_init_shared_fs, |
249 | .init_fs = tmem_cleancache_init_fs | 249 | .init_fs = tmem_cleancache_init_fs |
250 | }; | 250 | }; |
@@ -369,8 +369,8 @@ __setup("nofrontswap", no_frontswap); | |||
369 | static struct frontswap_ops tmem_frontswap_ops = { | 369 | static struct frontswap_ops tmem_frontswap_ops = { |
370 | .put_page = tmem_frontswap_put_page, | 370 | .put_page = tmem_frontswap_put_page, |
371 | .get_page = tmem_frontswap_get_page, | 371 | .get_page = tmem_frontswap_get_page, |
372 | .flush_page = tmem_frontswap_flush_page, | 372 | .invalidate_page = tmem_frontswap_flush_page, |
373 | .flush_area = tmem_frontswap_flush_area, | 373 | .invalidate_area = tmem_frontswap_flush_area, |
374 | .init = tmem_frontswap_init | 374 | .init = tmem_frontswap_init |
375 | }; | 375 | }; |
376 | #endif | 376 | #endif |