diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2013-02-04 06:02:55 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-15 10:43:47 -0500 |
commit | 21cd1254d3402a72927ed744e8ac1a7cf532f1ea (patch) | |
tree | 614baf2ba9099118ff94c3954fa5f22dcb75a086 /fs/nfs | |
parent | 2d4383383b0b04ca380b67aa2d7397d0b399dcbf (diff) |
SUNRPC: remove "cache_request" argument in sunrpc_cache_pipe_upcall() function
Passing this pointer is redundant since it's stored on cache_detail structure,
which is also passed to sunrpc_cache_pipe_upcall () function.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/dns_resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dns_resolve.c b/fs/nfs/dns_resolve.c index 55bc5d11457c..945527092295 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, cd->cache_request); | 147 | ret = sunrpc_cache_pipe_upcall(cd, ch); |
148 | return ret; | 148 | return ret; |
149 | } | 149 | } |
150 | 150 | ||