[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>
This commit is contained in:
committed by
Linus Torvalds
parent
baab935ff3
commit
74cae61ab4
@@ -86,9 +86,6 @@ void nfsd_export_shutdown(void);
|
||||
void nfsd_export_flush(void);
|
||||
void exp_readlock(void);
|
||||
void exp_readunlock(void);
|
||||
struct svc_expkey * exp_find_key(struct auth_domain *clp,
|
||||
int fsid_type, u32 *fsidv,
|
||||
struct cache_req *reqp);
|
||||
struct svc_export * exp_get_by_name(struct auth_domain *clp,
|
||||
struct vfsmount *mnt,
|
||||
struct dentry *dentry,
|
||||
@@ -102,7 +99,7 @@ int exp_rootfh(struct auth_domain *,
|
||||
int exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq);
|
||||
int nfserrno(int errno);
|
||||
|
||||
extern struct cache_detail svc_export_cache, svc_expkey_cache;
|
||||
extern struct cache_detail svc_export_cache;
|
||||
|
||||
static inline void exp_put(struct svc_export *exp)
|
||||
{
|
||||
|
@@ -163,7 +163,6 @@ static inline void cache_put(struct cache_head *h, struct cache_detail *cd)
|
||||
kref_put(&h->ref, cd->cache_put);
|
||||
}
|
||||
|
||||
extern void cache_init(struct cache_head *h);
|
||||
extern int cache_check(struct cache_detail *detail,
|
||||
struct cache_head *h, struct cache_req *rqstp);
|
||||
extern void cache_flush(void);
|
||||
|
Reference in New Issue
Block a user