]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - net/sunrpc/clnt.c
SUNRPC: allow disabling idle timeout
[linux-imx.git] / net / sunrpc / clnt.c
index 651245aa829a325743aa1190788bdc9b8ae4dc4d..80cf23241da99f8f7bb88acc89e9e6d5d711c5de 100644 (file)
@@ -416,6 +416,8 @@ struct rpc_clnt *rpc_create(struct rpc_create_args *args)
 
        if (args->flags & RPC_CLNT_CREATE_INFINITE_SLOTS)
                xprtargs.flags |= XPRT_CREATE_INFINITE_SLOTS;
+       if (args->flags & RPC_CLNT_CREATE_NO_IDLE_TIMEOUT)
+               xprtargs.flags |= XPRT_CREATE_NO_IDLE_TIMEOUT;
        /*
         * If the caller chooses not to specify a hostname, whip
         * up a string representation of the passed-in address.