diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-04-11 07:13:21 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-04-12 09:11:11 -0400 |
commit | b3853e0ea1f2ef58f7e7c03e47819e2ae3766dea (patch) | |
tree | e1d54f74e25a7878c2d786d120cd1a97f240ac18 /include/linux/nfsd | |
parent | 2a75cfa64e63502e54e40f99ba07411544bd3190 (diff) |
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 'include/linux/nfsd')
-rw-r--r-- | include/linux/nfsd/export.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index 375096c083d3..565c2122993f 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h | |||
@@ -132,13 +132,13 @@ __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp); | |||
132 | */ | 132 | */ |
133 | int nfsd_export_init(struct net *); | 133 | int nfsd_export_init(struct net *); |
134 | void nfsd_export_shutdown(struct net *); | 134 | void nfsd_export_shutdown(struct net *); |
135 | void nfsd_export_flush(void); | 135 | void nfsd_export_flush(struct net *); |
136 | struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, | 136 | struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, |
137 | struct path *); | 137 | struct path *); |
138 | struct svc_export * rqst_exp_parent(struct svc_rqst *, | 138 | struct svc_export * rqst_exp_parent(struct svc_rqst *, |
139 | struct path *); | 139 | struct path *); |
140 | struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *); | 140 | struct svc_export * rqst_find_fsidzero_export(struct svc_rqst *); |
141 | int exp_rootfh(struct auth_domain *, | 141 | int exp_rootfh(struct net *, struct auth_domain *, |
142 | char *path, struct knfsd_fh *, int maxsize); | 142 | char *path, struct knfsd_fh *, int maxsize); |
143 | __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *); | 143 | __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *); |
144 | __be32 nfserrno(int errno); | 144 | __be32 nfserrno(int errno); |