diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2011-12-07 12:57:56 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-12-07 15:27:46 -0500 |
commit | f5c8593b94190aabdcf207a544f082c7816c4fe6 (patch) | |
tree | e0f4d5bd999cba6ec806216aeffd3953c480f295 /net/sunrpc | |
parent | bd4620ddf6d6eb3d9e7d073ad601fa4299d46ba9 (diff) |
NFSd: use network-namespace-aware cache registering routines
v2: cache_register_net() and cache_unregister_net() GPL exports added
This is a cleanup patch. Hope, some day generic cache_register() and
cache_unregister() will be removed.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 72ad836e4fe0..b8daa577734f 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c @@ -1641,6 +1641,7 @@ int cache_register_net(struct cache_detail *cd, struct net *net) sunrpc_destroy_cache_detail(cd); return ret; } +EXPORT_SYMBOL_GPL(cache_register_net); int cache_register(struct cache_detail *cd) { @@ -1653,6 +1654,7 @@ void cache_unregister_net(struct cache_detail *cd, struct net *net) remove_cache_proc_entries(cd, net); sunrpc_destroy_cache_detail(cd); } +EXPORT_SYMBOL_GPL(cache_unregister_net); void cache_unregister(struct cache_detail *cd) { |