summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-04-11 15:32:51 +0200
committerJ. Bruce Fields <bfields@redhat.com>2012-04-12 15:12:10 +0200
commitc2e76ef5e0716bc82364e6049e8023ffd5bbe395 (patch)
treeb4993d56cdd8fa8d0fe44b3c4799cebfbecf5b12 /fs/nfsd/netns.h
parentnfsd: pass network context to idmap init/exit functions (diff)
downloadlinux-c2e76ef5e0716bc82364e6049e8023ffd5bbe395.tar.xz
linux-c2e76ef5e0716bc82364e6049e8023ffd5bbe395.zip
nfsd: make id-to-name cache allocated per network namespace context
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
-rw-r--r--fs/nfsd/netns.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 9794c6c7d133..948a718e24a4 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -31,6 +31,9 @@ struct nfsd_net {
struct cache_detail *svc_expkey_cache;
struct cache_detail *svc_export_cache;
+
+ struct cache_detail *idtoname_cache;
+
};
extern int nfsd_net_id;