提交 71234978 编写于 作者: S Stanislav Kinsbursky 提交者: J. Bruce Fields

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: NStanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 db3a3532
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册