From: Stanislav Kinsbursky Date: Wed, 28 Mar 2012 15:09:15 +0000 (+0400) Subject: nfsd: use cache detail pointer from svc_export structure on cache put X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=71234978e81ee515c8025d087a197561b311c183;p=linux-beck.git nfsd: use cache detail pointer from svc_export structure on cache put Hard-coded pointer is redundant now and can be replaced. Signed-off-by: Stanislav Kinsbursky Signed-off-by: J. Bruce Fields --- diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h index 64455292bbba..485c2afa96f7 100644 --- a/include/linux/nfsd/export.h +++ b/include/linux/nfsd/export.h @@ -147,7 +147,7 @@ extern struct cache_detail svc_export_cache; static inline void exp_put(struct svc_export *exp) { - cache_put(&exp->h, &svc_export_cache); + cache_put(&exp->h, exp->cd); } static inline void exp_get(struct svc_export *exp)