|
@@ -117,6 +117,7 @@ struct cache_detail {
|
|
struct cache_detail_procfs procfs;
|
|
struct cache_detail_procfs procfs;
|
|
struct cache_detail_pipefs pipefs;
|
|
struct cache_detail_pipefs pipefs;
|
|
} u;
|
|
} u;
|
|
|
|
+ struct net *net;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -202,6 +203,9 @@ extern int cache_register_net(struct cache_detail *cd, struct net *net);
|
|
extern void cache_unregister(struct cache_detail *cd);
|
|
extern void cache_unregister(struct cache_detail *cd);
|
|
extern void cache_unregister_net(struct cache_detail *cd, struct net *net);
|
|
extern void cache_unregister_net(struct cache_detail *cd, struct net *net);
|
|
|
|
|
|
|
|
+extern struct cache_detail *cache_create_net(struct cache_detail *tmpl, struct net *net);
|
|
|
|
+extern void cache_destroy_net(struct cache_detail *cd, struct net *net);
|
|
|
|
+
|
|
extern void sunrpc_init_cache_detail(struct cache_detail *cd);
|
|
extern void sunrpc_init_cache_detail(struct cache_detail *cd);
|
|
extern void sunrpc_destroy_cache_detail(struct cache_detail *cd);
|
|
extern void sunrpc_destroy_cache_detail(struct cache_detail *cd);
|
|
extern int sunrpc_cache_register_pipefs(struct dentry *parent, const char *,
|
|
extern int sunrpc_cache_register_pipefs(struct dentry *parent, const char *,
|