aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r--include/linux/nfsd/export.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h
index d52e0b7ad37b..a6c08a47b25c 100644
--- a/include/linux/nfsd/export.h
+++ b/include/linux/nfsd/export.h
@@ -102,13 +102,11 @@ int exp_rootfh(struct auth_domain *,
102int exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq); 102int exp_pseudoroot(struct auth_domain *, struct svc_fh *fhp, struct cache_req *creq);
103int nfserrno(int errno); 103int nfserrno(int errno);
104 104
105extern void expkey_put(struct cache_head *item, struct cache_detail *cd);
106extern void svc_export_put(struct cache_head *item, struct cache_detail *cd);
107extern struct cache_detail svc_export_cache, svc_expkey_cache; 105extern struct cache_detail svc_export_cache, svc_expkey_cache;
108 106
109static inline void exp_put(struct svc_export *exp) 107static inline void exp_put(struct svc_export *exp)
110{ 108{
111 svc_export_put(&exp->h, &svc_export_cache); 109 cache_put(&exp->h, &svc_export_cache);
112} 110}
113 111
114static inline void exp_get(struct svc_export *exp) 112static inline void exp_get(struct svc_export *exp)