diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-30 17:21:41 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-09-30 17:21:41 -0400 |
commit | 72c23f0819977d37924af92a42a9b7fbfd1c95d8 (patch) | |
tree | a0c10114d96c40f8e38887c346ec593a51321781 /net/sunrpc/clnt.c | |
parent | 3fc3edf141fd78f624194eb89d7b37ff86138422 (diff) | |
parent | d1f456b0b9545f1606a54cd17c20775f159bd2ce (diff) |
Merge branch 'bugfixes' into linux-next
* bugfixes:
NFSv4.1: Fix an NFSv4.1 state renewal regression
NFSv4: fix open/lock state recovery error handling
NFSv4: Fix lock recovery when CREATE_SESSION/SETCLIENTID_CONFIRM fails
NFS: Fabricate fscache server index key correctly
SUNRPC: Add missing support for RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT
nfs: fix duplicate proc entries
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; |