Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71234978 authored by Stanislav Kinsbursky's avatar Stanislav Kinsbursky Committed by J. Bruce Fields
Browse files

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: default avatarStanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent db3a3532
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)