diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-16 04:27:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:10 -0400 |
commit | cce76f9b9696a59974be9ed43478c000c57e597a (patch) | |
tree | b7b6f64c1c175a569411c39f57d86f41e6b3e652 /include/linux/nfsd | |
parent | e8a285b7b10029c3da7e9bbaa1659e7e08178912 (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 'include/linux/nfsd')
-rw-r--r-- | include/linux/nfsd/export.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index 5cd192469096..bcb7abafbca9 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h | |||
@@ -127,17 +127,9 @@ void nfsd_export_shutdown(void); | |||
127 | void nfsd_export_flush(void); | 127 | void nfsd_export_flush(void); |
128 | void exp_readlock(void); | 128 | void exp_readlock(void); |
129 | void exp_readunlock(void); | 129 | void exp_readunlock(void); |
130 | struct svc_export * exp_get_by_name(struct auth_domain *clp, | ||
131 | struct vfsmount *mnt, | ||
132 | struct dentry *dentry, | ||
133 | struct cache_req *reqp); | ||
134 | struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, | 130 | struct svc_export * rqst_exp_get_by_name(struct svc_rqst *, |
135 | struct vfsmount *, | 131 | struct vfsmount *, |
136 | struct dentry *); | 132 | struct dentry *); |
137 | struct svc_export * exp_parent(struct auth_domain *clp, | ||
138 | struct vfsmount *mnt, | ||
139 | struct dentry *dentry, | ||
140 | struct cache_req *reqp); | ||
141 | struct svc_export * rqst_exp_parent(struct svc_rqst *, | 133 | struct svc_export * rqst_exp_parent(struct svc_rqst *, |
142 | struct vfsmount *mnt, | 134 | struct vfsmount *mnt, |
143 | struct dentry *dentry); | 135 | struct dentry *dentry); |
@@ -157,9 +149,6 @@ static inline void exp_get(struct svc_export *exp) | |||
157 | { | 149 | { |
158 | cache_get(&exp->h); | 150 | cache_get(&exp->h); |
159 | } | 151 | } |
160 | extern struct svc_export * | ||
161 | exp_find(struct auth_domain *clp, int fsid_type, u32 *fsidv, | ||
162 | struct cache_req *reqp); | ||
163 | struct svc_export * rqst_exp_find(struct svc_rqst *, int, u32 *); | 152 | struct svc_export * rqst_exp_find(struct svc_rqst *, int, u32 *); |
164 | 153 | ||
165 | #endif /* __KERNEL__ */ | 154 | #endif /* __KERNEL__ */ |