diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index c4c60697589a..9acd6ce88db7 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -461,6 +461,8 @@ struct rpc_clnt *rpc_create_xprt(struct rpc_create_args *args, | |||
461 | 461 | ||
462 | if (args->flags & RPC_CLNT_CREATE_AUTOBIND) | 462 | if (args->flags & RPC_CLNT_CREATE_AUTOBIND) |
463 | clnt->cl_autobind = 1; | 463 | clnt->cl_autobind = 1; |
464 | if (args->flags & RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT) | ||
465 | clnt->cl_noretranstimeo = 1; | ||
464 | if (args->flags & RPC_CLNT_CREATE_DISCRTRY) | 466 | if (args->flags & RPC_CLNT_CREATE_DISCRTRY) |
465 | clnt->cl_discrtry = 1; | 467 | clnt->cl_discrtry = 1; |
466 | if (!(args->flags & RPC_CLNT_CREATE_QUIET)) | 468 | if (!(args->flags & RPC_CLNT_CREATE_QUIET)) |
@@ -579,6 +581,7 @@ static struct rpc_clnt *__rpc_clone_client(struct rpc_create_args *args, | |||
579 | /* Turn off autobind on clones */ | 581 | /* Turn off autobind on clones */ |
580 | new->cl_autobind = 0; | 582 | new->cl_autobind = 0; |
581 | new->cl_softrtry = clnt->cl_softrtry; | 583 | new->cl_softrtry = clnt->cl_softrtry; |
584 | new->cl_noretranstimeo = clnt->cl_noretranstimeo; | ||
582 | new->cl_discrtry = clnt->cl_discrtry; | 585 | new->cl_discrtry = clnt->cl_discrtry; |
583 | new->cl_chatty = clnt->cl_chatty; | 586 | new->cl_chatty = clnt->cl_chatty; |
584 | return new; | 587 | return new; |