diff options
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r-- | net/sunrpc/xprt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index cd641c8634f0..fb92f51405c5 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c | |||
@@ -1011,9 +1011,8 @@ found: | |||
1011 | INIT_LIST_HEAD(&xprt->free); | 1011 | INIT_LIST_HEAD(&xprt->free); |
1012 | INIT_LIST_HEAD(&xprt->recv); | 1012 | INIT_LIST_HEAD(&xprt->recv); |
1013 | INIT_WORK(&xprt->task_cleanup, xprt_autoclose); | 1013 | INIT_WORK(&xprt->task_cleanup, xprt_autoclose); |
1014 | init_timer(&xprt->timer); | 1014 | setup_timer(&xprt->timer, xprt_init_autodisconnect, |
1015 | xprt->timer.function = xprt_init_autodisconnect; | 1015 | (unsigned long)xprt); |
1016 | xprt->timer.data = (unsigned long) xprt; | ||
1017 | xprt->last_used = jiffies; | 1016 | xprt->last_used = jiffies; |
1018 | xprt->cwnd = RPC_INITCWND; | 1017 | xprt->cwnd = RPC_INITCWND; |
1019 | xprt->bind_index = 0; | 1018 | xprt->bind_index = 0; |