aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sunrpc/xprt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 06ca058572f2..52739f82df1e 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -1049,6 +1049,11 @@ found:
1049 1049
1050 INIT_LIST_HEAD(&xprt->free); 1050 INIT_LIST_HEAD(&xprt->free);
1051 INIT_LIST_HEAD(&xprt->recv); 1051 INIT_LIST_HEAD(&xprt->recv);
1052#if defined(CONFIG_NFS_V4_1)
1053 spin_lock_init(&xprt->bc_pa_lock);
1054 INIT_LIST_HEAD(&xprt->bc_pa_list);
1055#endif /* CONFIG_NFS_V4_1 */
1056
1052 INIT_WORK(&xprt->task_cleanup, xprt_autoclose); 1057 INIT_WORK(&xprt->task_cleanup, xprt_autoclose);
1053 setup_timer(&xprt->timer, xprt_init_autodisconnect, 1058 setup_timer(&xprt->timer, xprt_init_autodisconnect,
1054 (unsigned long)xprt); 1059 (unsigned long)xprt);