summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/export.h
diff options
context:
space:
mode:
authorAdrian Bunk2006-03-27 11:15:10 +0200
committerLinus Torvalds2006-03-27 18:44:43 +0200
commit74cae61ab45f19a3e8c4d9f53c0e94df129c7915 (patch)
tree73ad8b7c562c5e790777b4c93352f739b521f382 /include/linux/nfsd/export.h
parent[PATCH] knfsd: Convert sunrpc_cache to use krefs (diff)
downloadkernel-qcow2-linux-74cae61ab45f19a3e8c4d9f53c0e94df129c7915.tar.gz
kernel-qcow2-linux-74cae61ab45f19a3e8c4d9f53c0e94df129c7915.tar.xz
kernel-qcow2-linux-74cae61ab45f19a3e8c4d9f53c0e94df129c7915.zip
[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/linux/nfsd/export.h')
-rw-r--r--include/linux/nfsd/export.h5
1 files changed, 1 insertions, 4 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);
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)
{