diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-04-11 15:13:28 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-04-12 09:11:46 -0400 |
commit | e5f06f720eff24e32f1cc08ec03bcc8c4b2d2934 (patch) | |
tree | 9afeda20ea7ea07f6c1bbcc9dc5979c98cc62def /include/linux/nfsd | |
parent | b3853e0ea1f2ef58f7e7c03e47819e2ae3766dea (diff) | |
download | linux-stable-e5f06f720eff24e32f1cc08ec03bcc8c4b2d2934.tar.gz linux-stable-e5f06f720eff24e32f1cc08ec03bcc8c4b2d2934.tar.bz2 linux-stable-e5f06f720eff24e32f1cc08ec03bcc8c4b2d2934.zip |
nfsd: make expkey cache allocated per network namespace context
This patch also changes svcauth_unix_purge() function: added network namespace
as a parameter and thus loop over all networks was replaced by only one call
for ip map cache purge.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r-- | include/linux/nfsd/export.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index 565c2122993f..e33f747b173c 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h @@ -143,8 +143,6 @@ int exp_rootfh(struct net *, struct auth_domain *, __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *); __be32 nfserrno(int errno); -extern struct cache_detail svc_export_cache; - static inline void exp_put(struct svc_export *exp) { cache_put(&exp->h, exp->cd); |