diff options
author | Eryu Guan <eguan@linux.alibaba.com> | 2021-03-22 08:29:04 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-05 16:04:21 +0300 |
commit | 6b996476f364009e9be43e98f5bca11e5ec95b2d (patch) | |
tree | 444a635dbbb980c1eed7ec2db383953cc7972706 /fs/nfs/mount_clnt.c | |
parent | 90ff57bf4df2825ace0f61befdc3f87c79838ec2 (diff) | |
download | linux-6b996476f364009e9be43e98f5bca11e5ec95b2d.tar.xz |
sunrpc: honor rpc_task's timeout value in rpcb_create()
Currently rpcbind client is created without setting rpc timeout (thus
using the default value). But if the rpc_task already has a customized
timeout in its tk_client field, it's also ignored.
Let's use the same timeout setting in rpc_task->tk_client->cl_timeout
for rpcbind connection.
Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
0 files changed, 0 insertions, 0 deletions