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 <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
db3a353263
commit
71234978e8
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ extern struct cache_detail svc_export_cache;
|
||||||
|
|
||||||
static inline void exp_put(struct svc_export *exp)
|
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)
|
static inline void exp_get(struct svc_export *exp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue