open firmware: "/aliasas" -> "/aliases"
[firefly-linux-kernel-4.4.55.git] / net / sunrpc / xprt.c
index 745fca3cfd360531f9f18c4dadf2aa186b3c9cf2..095363eee764b3ff496a745f56e4fa646f5f02c0 100644 (file)
@@ -1300,6 +1300,8 @@ found:
                                -PTR_ERR(xprt));
                goto out;
        }
+       if (args->flags & XPRT_CREATE_NO_IDLE_TIMEOUT)
+               xprt->idle_timeout = 0;
        INIT_WORK(&xprt->task_cleanup, xprt_autoclose);
        if (xprt_has_timer(xprt))
                setup_timer(&xprt->timer, xprt_init_autodisconnect,