diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-07-17 07:04:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:07 -0400 |
commit | df547efb03e3e8f9ea726e1d07fbbd6fd0706cd7 (patch) | |
tree | ff0b523096d135562dd979af4864ad6846a359c7 /include | |
parent | e677bfe4d451f8271986a229270c6eecd1f62b3f (diff) |
knfsd: nfsd4: simplify exp_pseudoroot arguments
We're passing three arguments to exp_pseudoroot, two of which are just fields
of the svc_rqst. Soon we'll want to pass in a third field as well. So let's
just give up and pass in the whole struct svc_rqst.
Also sneak in some minor style cleanups while we're at it.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfsd/export.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index 736f0eafcedf..5ed4f277eeac 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h | |||
@@ -135,7 +135,7 @@ struct svc_export * exp_parent(struct auth_domain *clp, | |||
135 | struct cache_req *reqp); | 135 | struct cache_req *reqp); |
136 | int exp_rootfh(struct auth_domain *, | 136 | int exp_rootfh(struct auth_domain *, |
137 | char *path, struct knfsd_fh *, int maxsize); | 137 | char *path, struct knfsd_fh *, int maxsize); |
138 | __be32 exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq); | 138 | __be32 exp_pseudoroot(struct svc_rqst *, struct svc_fh *); |
139 | __be32 nfserrno(int errno); | 139 | __be32 nfserrno(int errno); |
140 | 140 | ||
141 | extern struct cache_detail svc_export_cache; | 141 | extern struct cache_detail svc_export_cache; |