diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-04-11 15:32:51 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-04-12 15:12:10 +0200 |
commit | c2e76ef5e0716bc82364e6049e8023ffd5bbe395 (patch) | |
tree | b4993d56cdd8fa8d0fe44b3c4799cebfbecf5b12 /fs/nfsd/netns.h | |
parent | nfsd: pass network context to idmap init/exit functions (diff) | |
download | linux-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.h | 3 |
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; |