From 472e3ebd06633be2149f64a39b4e1d2cf4f3ff1c Mon Sep 17 00:00:00 2001 From: Stanislav Kinsbursky Date: Wed, 28 Mar 2012 19:09:22 +0400 Subject: [PATCH] --- yaml --- r: 309790 b: refs/heads/master c: a09581f29434ae67f8fc6ae487e4f30a7f0d019f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfsd/export.c | 2 +- trunk/fs/nfsd/nfsfh.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 50c7bb049e80..0ab4d5261ed7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 71234978e81ee515c8025d087a197561b311c183 +refs/heads/master: a09581f29434ae67f8fc6ae487e4f30a7f0d019f diff --git a/trunk/fs/nfsd/export.c b/trunk/fs/nfsd/export.c index 99ea4c00240c..c20a405b5862 100644 --- a/trunk/fs/nfsd/export.c +++ b/trunk/fs/nfsd/export.c @@ -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); } diff --git a/trunk/fs/nfsd/nfsfh.c b/trunk/fs/nfsd/nfsfh.c index 68454e75fce9..cc793005a87c 100644 --- a/trunk/fs/nfsd/nfsfh.c +++ b/trunk/fs/nfsd/nfsfh.c @@ -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;