summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsfh.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-03-28 17:09:22 +0200
committerJ. Bruce Fields <bfields@redhat.com>2012-04-11 23:55:02 +0200
commita09581f29434ae67f8fc6ae487e4f30a7f0d019f (patch)
tree1cde7fcd7cf89ed98f92dc26b2439e335251be11 /fs/nfsd/nfsfh.c
parentnfsd: use cache detail pointer from svc_export structure on cache put (diff)
downloadlinux-a09581f29434ae67f8fc6ae487e4f30a7f0d019f.tar.xz
linux-a09581f29434ae67f8fc6ae487e4f30a7f0d019f.zip
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 '')
-rw-r--r--fs/nfsd/nfsfh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c
index 68454e75fce9..cc793005a87c 100644
--- a/fs/nfsd/nfsfh.c
+++ b/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;