aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sunrpc/cache.h')
-rw-r--r--include/linux/sunrpc/cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h
index 590a8ab0cec3..259381ca811b 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
@@ -202,6 +203,9 @@ extern int cache_register_net(struct cache_detail *cd, struct net *net);
202extern void cache_unregister(struct cache_detail *cd); 203extern void cache_unregister(struct cache_detail *cd);
203extern void cache_unregister_net(struct cache_detail *cd, struct net *net); 204extern void cache_unregister_net(struct cache_detail *cd, struct net *net);
204 205
206extern struct cache_detail *cache_create_net(struct cache_detail *tmpl, struct net *net);
207extern void cache_destroy_net(struct cache_detail *cd, struct net *net);
208
205extern void sunrpc_init_cache_detail(struct cache_detail *cd); 209extern void sunrpc_init_cache_detail(struct cache_detail *cd);
206extern void sunrpc_destroy_cache_detail(struct cache_detail *cd); 210extern void sunrpc_destroy_cache_detail(struct cache_detail *cd);
207extern int sunrpc_cache_register_pipefs(struct dentry *parent, const char *, 211extern int sunrpc_cache_register_pipefs(struct dentry *parent, const char *,