aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/export.c')
-rw-r--r--fs/nfsd/export.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 8e9df45b3d3c..0e16c7fa6800 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -69,7 +69,7 @@ static void expkey_request(struct cache_detail *cd,
69 69
70static int expkey_upcall(struct cache_detail *cd, struct cache_head *h) 70static int expkey_upcall(struct cache_detail *cd, struct cache_head *h)
71{ 71{
72 return sunrpc_cache_pipe_upcall(cd, h, expkey_request); 72 return sunrpc_cache_pipe_upcall(cd, h, cd->cache_request);
73} 73}
74 74
75static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new, 75static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
@@ -246,6 +246,7 @@ static struct cache_detail svc_expkey_cache_template = {
246 .name = "nfsd.fh", 246 .name = "nfsd.fh",
247 .cache_put = expkey_put, 247 .cache_put = expkey_put,
248 .cache_upcall = expkey_upcall, 248 .cache_upcall = expkey_upcall,
249 .cache_request = expkey_request,
249 .cache_parse = expkey_parse, 250 .cache_parse = expkey_parse,
250 .cache_show = expkey_show, 251 .cache_show = expkey_show,
251 .match = expkey_match, 252 .match = expkey_match,
@@ -340,7 +341,7 @@ static void svc_export_request(struct cache_detail *cd,
340 341
341static int svc_export_upcall(struct cache_detail *cd, struct cache_head *h) 342static int svc_export_upcall(struct cache_detail *cd, struct cache_head *h)
342{ 343{
343 return sunrpc_cache_pipe_upcall(cd, h, svc_export_request); 344 return sunrpc_cache_pipe_upcall(cd, h, cd->cache_request);
344} 345}
345 346
346static struct svc_export *svc_export_update(struct svc_export *new, 347static struct svc_export *svc_export_update(struct svc_export *new,
@@ -714,6 +715,7 @@ static struct cache_detail svc_export_cache_template = {
714 .name = "nfsd.export", 715 .name = "nfsd.export",
715 .cache_put = svc_export_put, 716 .cache_put = svc_export_put,
716 .cache_upcall = svc_export_upcall, 717 .cache_upcall = svc_export_upcall,
718 .cache_request = svc_export_request,
717 .cache_parse = svc_export_parse, 719 .cache_parse = svc_export_parse,
718 .cache_show = svc_export_show, 720 .cache_show = svc_export_show,
719 .match = svc_export_match, 721 .match = svc_export_match,