diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-27 04:15:10 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:44:43 -0500 |
commit | 74cae61ab45f19a3e8c4d9f53c0e94df129c7915 (patch) | |
tree | 73ad8b7c562c5e790777b4c93352f739b521f382 /include | |
parent | baab935ff3bdac20c558809da0d8e8f761840219 (diff) |
[PATCH] fs/nfsd/export.c,net/sunrpc/cache.c: make needlessly global code static
We can now make some code static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfsd/export.h | 5 | ||||
-rw-r--r-- | include/linux/sunrpc/cache.h | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index a6c08a47b25c..d2a8abb5011a 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h | |||
@@ -86,9 +86,6 @@ void nfsd_export_shutdown(void); | |||
86 | void nfsd_export_flush(void); | 86 | void nfsd_export_flush(void); |
87 | void exp_readlock(void); | 87 | void exp_readlock(void); |
88 | void exp_readunlock(void); | 88 | void exp_readunlock(void); |
89 | struct svc_expkey * exp_find_key(struct auth_domain *clp, | ||
90 | int fsid_type, u32 *fsidv, | ||
91 | struct cache_req *reqp); | ||
92 | struct svc_export * exp_get_by_name(struct auth_domain *clp, | 89 | struct svc_export * exp_get_by_name(struct auth_domain *clp, |
93 | struct vfsmount *mnt, | 90 | struct vfsmount *mnt, |
94 | struct dentry *dentry, | 91 | struct dentry *dentry, |
@@ -102,7 +99,7 @@ int exp_rootfh(struct auth_domain *, | |||
102 | int exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq); | 99 | int exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq); |
103 | int nfserrno(int errno); | 100 | int nfserrno(int errno); |
104 | 101 | ||
105 | extern struct cache_detail svc_export_cache, svc_expkey_cache; | 102 | extern struct cache_detail svc_export_cache; |
106 | 103 | ||
107 | static inline void exp_put(struct svc_export *exp) | 104 | static inline void exp_put(struct svc_export *exp) |
108 | { | 105 | { |
diff --git a/include/linux/sunrpc/cache.h b/include/linux/sunrpc/cache.h index ad3f5cbdb770..b5612c958cce 100644 --- a/include/linux/sunrpc/cache.h +++ b/include/linux/sunrpc/cache.h | |||
@@ -163,7 +163,6 @@ static inline void cache_put(struct cache_head *h, struct cache_detail *cd) | |||
163 | kref_put(&h->ref, cd->cache_put); | 163 | kref_put(&h->ref, cd->cache_put); |
164 | } | 164 | } |
165 | 165 | ||
166 | extern void cache_init(struct cache_head *h); | ||
167 | extern int cache_check(struct cache_detail *detail, | 166 | extern int cache_check(struct cache_detail *detail, |
168 | struct cache_head *h, struct cache_req *rqstp); | 167 | struct cache_head *h, struct cache_req *rqstp); |
169 | extern void cache_flush(void); | 168 | extern void cache_flush(void); |