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

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

nfsd: use exp_put() for svc_export_cache put



This patch replaces cache_put() call for svc_export_cache by exp_put() call.

Signed-off-by: default avatarStanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 71234978
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1205,7 +1205,7 @@ static int e_show(struct seq_file *m, void *p)
	cache_get(&exp->h);
	if (cache_check(&svc_export_cache, &exp->h, NULL))
		return 0;
	cache_put(&exp->h, &svc_export_cache);
	exp_put(exp);
	return svc_export_show(m, &svc_export_cache, cp);
}

+1 −1
Original line number Diff line number Diff line
@@ -636,7 +636,7 @@ fh_put(struct svc_fh *fhp)
#endif
	}
	if (exp) {
		cache_put(&exp->h, &svc_export_cache);
		exp_put(exp);
		fhp->fh_export = NULL;
	}
	return;