aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-10-16 04:27:52 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:10 -0400
commitcce76f9b9696a59974be9ed43478c000c57e597a (patch)
treeb7b6f64c1c175a569411c39f57d86f41e6b3e652 /fs/nfsd
parente8a285b7b10029c3da7e9bbaa1659e7e08178912 (diff)
fs/nfsd/export.c: make 3 functions static
This patch makes the following needlessly global functions static: - exp_get_by_name() - exp_parent() - exp_find() Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Neil Brown <neilb@suse.de> Cc: "J. Bruce Fields" <bfields@fieldses.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/export.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index cba899a3494e..04b266729802 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -861,9 +861,9 @@ exp_get_fsid_key(svc_client *clp, int fsid)
861 return exp_find_key(clp, FSID_NUM, fsidv, NULL); 861 return exp_find_key(clp, FSID_NUM, fsidv, NULL);
862} 862}
863 863
864svc_export * 864static svc_export *exp_get_by_name(svc_client *clp, struct vfsmount *mnt,
865exp_get_by_name(svc_client *clp, struct vfsmount *mnt, struct dentry *dentry, 865 struct dentry *dentry,
866 struct cache_req *reqp) 866 struct cache_req *reqp)
867{ 867{
868 struct svc_export *exp, key; 868 struct svc_export *exp, key;
869 int err; 869 int err;
@@ -887,9 +887,9 @@ exp_get_by_name(svc_client *clp, struct vfsmount *mnt, struct dentry *dentry,
887/* 887/*
888 * Find the export entry for a given dentry. 888 * Find the export entry for a given dentry.
889 */ 889 */
890struct svc_export * 890static struct svc_export *exp_parent(svc_client *clp, struct vfsmount *mnt,
891exp_parent(svc_client *clp, struct vfsmount *mnt, struct dentry *dentry, 891 struct dentry *dentry,
892 struct cache_req *reqp) 892 struct cache_req *reqp)
893{ 893{
894 svc_export *exp; 894 svc_export *exp;
895 895
@@ -1214,9 +1214,8 @@ out:
1214 return err; 1214 return err;
1215} 1215}
1216 1216
1217struct svc_export * 1217static struct svc_export *exp_find(struct auth_domain *clp, int fsid_type,
1218exp_find(struct auth_domain *clp, int fsid_type, u32 *fsidv, 1218 u32 *fsidv, struct cache_req *reqp)
1219 struct cache_req *reqp)
1220{ 1219{
1221 struct svc_export *exp; 1220 struct svc_export *exp;
1222 struct svc_expkey *ek = exp_find_key(clp, fsid_type, fsidv, reqp); 1221 struct svc_expkey *ek = exp_find_key(clp, fsid_type, fsidv, reqp);