diff options
| author | Len Brown <len.brown@intel.com> | 2012-04-06 21:48:59 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2012-04-06 21:48:59 -0400 |
| commit | eeaab2d8af2cf1d36d7086f22e9de42d6dd2995c (patch) | |
| tree | 369b9c91a6d808944f07d2290fec6f9fe2731904 /include/linux/sunrpc/cache.h | |
| parent | ee01e663373343c63e0e3d364d09f6155378dbcc (diff) | |
| parent | aaef292acf3a78d9c0bb6fb72226077d286b45d7 (diff) | |
Merge branches 'idle-fix' and 'misc' into release
Diffstat (limited to 'include/linux/sunrpc/cache.h')
| -rw-r--r-- | include/linux/sunrpc/cache.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index 57531f8e5956..f5fd6160dbca 100644 --- a/include/linux/sunrpc/cache.h +++ b/include/linux/sunrpc/cache.h | |||
| @@ -117,6 +117,7 @@ struct cache_detail { | |||
| 117 | struct cache_detail_procfs procfs; | 117 | struct cache_detail_procfs procfs; |
| 118 | struct cache_detail_pipefs pipefs; | 118 | struct cache_detail_pipefs pipefs; |
| 119 | } u; | 119 | } u; |
| 120 | struct net *net; | ||
| 120 | }; | 121 | }; |
| 121 | 122 | ||
| 122 | 123 | ||
| @@ -197,11 +198,14 @@ extern void cache_flush(void); | |||
| 197 | extern void cache_purge(struct cache_detail *detail); | 198 | extern void cache_purge(struct cache_detail *detail); |
| 198 | #define NEVER (0x7FFFFFFF) | 199 | #define NEVER (0x7FFFFFFF) |
| 199 | extern void __init cache_initialize(void); | 200 | extern void __init cache_initialize(void); |
| 200 | extern int cache_register(struct cache_detail *cd); | ||
| 201 | extern int cache_register_net(struct cache_detail *cd, struct net *net); | 201 | extern int cache_register_net(struct cache_detail *cd, struct net *net); |
| 202 | extern void cache_unregister(struct cache_detail *cd); | ||
| 203 | extern void cache_unregister_net(struct cache_detail *cd, struct net *net); | 202 | extern void cache_unregister_net(struct cache_detail *cd, struct net *net); |
| 204 | 203 | ||
| 204 | extern struct cache_detail *cache_create_net(struct cache_detail *tmpl, struct net *net); | ||
| 205 | extern void cache_destroy_net(struct cache_detail *cd, struct net *net); | ||
| 206 | |||
| 207 | extern void sunrpc_init_cache_detail(struct cache_detail *cd); | ||
| 208 | extern void sunrpc_destroy_cache_detail(struct cache_detail *cd); | ||
| 205 | extern int sunrpc_cache_register_pipefs(struct dentry *parent, const char *, | 209 | extern int sunrpc_cache_register_pipefs(struct dentry *parent, const char *, |
| 206 | umode_t, struct cache_detail *); | 210 | umode_t, struct cache_detail *); |
| 207 | extern void sunrpc_cache_unregister_pipefs(struct cache_detail *); | 211 | extern void sunrpc_cache_unregister_pipefs(struct cache_detail *); |
