summaryrefslogtreecommitdiff
path: root/include/linux/nfsd
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-04-11 15:13:14 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-04-12 02:01:33 +0400
commitb89109bef4a6a4a8ab5788778ee0addca0787870 (patch)
treed42ef77b42075c474e1d8f4f4b95a1d5f03c564f /include/linux/nfsd
parente3f70eadb7dddfb5a2bb9afff7abfc6ee17a29d0 (diff)
downloadlinux-b89109bef4a6a4a8ab5788778ee0addca0787870.tar.xz
nfsd: pass network context to export caches init/shutdown routines
These functions will be called from per-net operations. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h
index 485c2afa96f7..375096c083d3 100644
--- a/include/linux/nfsd/export.h
+++ b/include/linux/nfsd/export.h
@@ -130,8 +130,8 @@ __be32 check_nfsd_access(struct svc_export *exp, struct svc_rqst *rqstp);
/*
* Function declarations
*/
-int nfsd_export_init(void);
-void nfsd_export_shutdown(void);
+int nfsd_export_init(struct net *);
+void nfsd_export_shutdown(struct net *);
void nfsd_export_flush(void);
struct svc_export * rqst_exp_get_by_name(struct svc_rqst *,
struct path *);