diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2015-04-14 18:46:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 19:49:03 -0400 |
commit | 9de1626290eaa7d921413ddc83544bc3bae27283 (patch) | |
tree | f027d2d717f7e52c5c16fd9ba65df6b82d5dbf6e /include/linux/cleancache.h | |
parent | 58be19dcf7c0c206e60796c2ee18fc4fc1659fea (diff) |
cleancache: zap uuid arg of cleancache_init_shared_fs
Use super_block->s_uuid instead. Every shared filesystem using cleancache
must now initialize super_block->s_uuid before calling
cleancache_init_shared_fs. The only one on the tree, ocfs2, already meets
this requirement.
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Stefan Hengelein <ilendir@googlemail.com>
Cc: Florian Schmaus <fschmaus@gmail.com>
Cc: Andor Daam <andor.daam@googlemail.com>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: Bob Liu <lliubbo@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/cleancache.h')
-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 4ce9056b31a8..29657d1c83fb 100644 --- a/include/linux/cleancache.h +++ b/include/linux/cleancache.h | |||
@@ -36,7 +36,7 @@ struct cleancache_ops { | |||
36 | extern struct cleancache_ops * | 36 | extern struct cleancache_ops * |
37 | cleancache_register_ops(struct cleancache_ops *ops); | 37 | cleancache_register_ops(struct cleancache_ops *ops); |
38 | extern void __cleancache_init_fs(struct super_block *); | 38 | extern void __cleancache_init_fs(struct super_block *); |
39 | extern void __cleancache_init_shared_fs(char *, struct super_block *); | 39 | extern void __cleancache_init_shared_fs(struct super_block *); |
40 | extern int __cleancache_get_page(struct page *); | 40 | extern int __cleancache_get_page(struct page *); |
41 | extern void __cleancache_put_page(struct page *); | 41 | extern void __cleancache_put_page(struct page *); |
42 | extern void __cleancache_invalidate_page(struct address_space *, struct page *); | 42 | extern void __cleancache_invalidate_page(struct address_space *, struct page *); |
@@ -78,10 +78,10 @@ static inline void cleancache_init_fs(struct super_block *sb) | |||
78 | __cleancache_init_fs(sb); | 78 | __cleancache_init_fs(sb); |
79 | } | 79 | } |
80 | 80 | ||
81 | static inline void cleancache_init_shared_fs(char *uuid, struct super_block *sb) | 81 | static inline void cleancache_init_shared_fs(struct super_block *sb) |
82 | { | 82 | { |
83 | if (cleancache_enabled) | 83 | if (cleancache_enabled) |
84 | __cleancache_init_shared_fs(uuid, sb); | 84 | __cleancache_init_shared_fs(sb); |
85 | } | 85 | } |
86 | 86 | ||
87 | static inline int cleancache_get_page(struct page *page) | 87 | static inline int cleancache_get_page(struct page *page) |