NFS: disconnect before retrying NFSv4 requests over TCP
[deliverable/linux.git] / net / sunrpc / clnt.c
index 393e70aee18189f320b6d864348d1c50a468c9e0..c21aa0a7f7702f1e15ab94787459c126a4f5ff96 100644 (file)
@@ -249,6 +249,8 @@ struct rpc_clnt *rpc_create(struct rpc_create_args *args)
                clnt->cl_autobind = 1;
        if (args->flags & RPC_CLNT_CREATE_ONESHOT)
                clnt->cl_oneshot = 1;
+       if (args->flags & RPC_CLNT_CREATE_DISCRTRY)
+               clnt->cl_discrtry = 1;
 
        return clnt;
 }
This page took 0.024577 seconds and 5 git commands to generate.