summaryrefslogtreecommitdiff
path: root/fs/nfsd/export.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-03-28 19:09:22 +0400
committerJ. Bruce Fields <bfields@redhat.com>2012-04-12 01:55:02 +0400
commita09581f29434ae67f8fc6ae487e4f30a7f0d019f (patch)
tree1cde7fcd7cf89ed98f92dc26b2439e335251be11 /fs/nfsd/export.c
parent71234978e81ee515c8025d087a197561b311c183 (diff)
downloadlinux-a09581f29434ae67f8fc6ae487e4f30a7f0d019f.tar.xz
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: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r--fs/nfsd/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 99ea4c00240c..c20a405b5862 100644
--- a/fs/nfsd/export.c
+++ b/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);
}