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-Tag: v3.5-rc1~20^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71234978e81ee515c8025d087a197561b311c183;p=platform%2Fupstream%2Fkernel-adaptation-pc.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 6445529..485c2af 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)