summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-04-11 15:13:21 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-04-12 17:11:11 +0400
commitb3853e0ea1f2ef58f7e7c03e47819e2ae3766dea (patch)
treee1d54f74e25a7878c2d786d120cd1a97f240ac18 /fs/nfsd/netns.h
parent2a75cfa64e63502e54e40f99ba07411544bd3190 (diff)
downloadlinux-b3853e0ea1f2ef58f7e7c03e47819e2ae3766dea.tar.xz
nfsd: make export cache allocated per network namespace context
This patch also changes prototypes of nfsd_export_flush() and exp_rootfh(): network namespace parameter added. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h
index 12e0cff435b4..c1c6242942a9 100644
--- a/fs/nfsd/netns.h
+++ b/fs/nfsd/netns.h
@@ -28,6 +28,8 @@ struct cld_net;
struct nfsd_net {
struct cld_net *cld_net;
+
+ struct cache_detail *svc_export_cache;
};
extern int nfsd_net_id;