diff options
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r-- | net/sunrpc/xprt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index c71d835165e2..6c9997ef386a 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -710,7 +710,7 @@ void xprt_connect(struct rpc_task *task) | |||
710 | if (task->tk_rqstp) | 710 | if (task->tk_rqstp) |
711 | task->tk_rqstp->rq_bytes_sent = 0; | 711 | task->tk_rqstp->rq_bytes_sent = 0; |
712 | 712 | ||
713 | task->tk_timeout = xprt->connect_timeout; | 713 | task->tk_timeout = task->tk_rqstp->rq_timeout; |
714 | rpc_sleep_on(&xprt->pending, task, xprt_connect_status); | 714 | rpc_sleep_on(&xprt->pending, task, xprt_connect_status); |
715 | 715 | ||
716 | if (test_bit(XPRT_CLOSING, &xprt->state)) | 716 | if (test_bit(XPRT_CLOSING, &xprt->state)) |