aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dns_resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/dns_resolve.c')
-rw-r--r--fs/nfs/dns_resolve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/dns_resolve.c b/fs/nfs/dns_resolve.c
index 9cbc98a4159d..55bc5d11457c 100644
--- a/fs/nfs/dns_resolve.c
+++ b/fs/nfs/dns_resolve.c
@@ -144,7 +144,7 @@ static int nfs_dns_upcall(struct cache_detail *cd,
144 144
145 ret = nfs_cache_upcall(cd, key->hostname); 145 ret = nfs_cache_upcall(cd, key->hostname);
146 if (ret) 146 if (ret)
147 ret = sunrpc_cache_pipe_upcall(cd, ch, nfs_dns_request); 147 ret = sunrpc_cache_pipe_upcall(cd, ch, cd->cache_request);
148 return ret; 148 return ret;
149} 149}
150 150
@@ -359,6 +359,7 @@ static struct cache_detail nfs_dns_resolve_template = {
359 .name = "dns_resolve", 359 .name = "dns_resolve",
360 .cache_put = nfs_dns_ent_put, 360 .cache_put = nfs_dns_ent_put,
361 .cache_upcall = nfs_dns_upcall, 361 .cache_upcall = nfs_dns_upcall,
362 .cache_request = nfs_dns_request,
362 .cache_parse = nfs_dns_parse, 363 .cache_parse = nfs_dns_parse,
363 .cache_show = nfs_dns_show, 364 .cache_show = nfs_dns_show,
364 .match = nfs_dns_match, 365 .match = nfs_dns_match,