summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>2009-04-01 09:22:59 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 13:06:14 -0700
commitf9acac1a4710ce88871f1ae323fc91c1cb6e9d52 (patch)
tree89b51a8fac7b80cd68d1007d00fa11da4480a04d /net/sunrpc/xprt.c
parent56632b5bff5af10eb12d7e9499b5ffcadcb7a7b2 (diff)
downloadop-kernel-dev-f9acac1a4710ce88871f1ae323fc91c1cb6e9d52.zip
op-kernel-dev-f9acac1a4710ce88871f1ae323fc91c1cb6e9d52.tar.gz
nfs41: Initialize new rpc_xprt callback related fields
Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
-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 06ca058..52739f8 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -1049,6 +1049,11 @@ found:
INIT_LIST_HEAD(&xprt->free);
INIT_LIST_HEAD(&xprt->recv);
+#if defined(CONFIG_NFS_V4_1)
+ spin_lock_init(&xprt->bc_pa_lock);
+ INIT_LIST_HEAD(&xprt->bc_pa_list);
+#endif /* CONFIG_NFS_V4_1 */
+
INIT_WORK(&xprt->task_cleanup, xprt_autoclose);
setup_timer(&xprt->timer, xprt_init_autodisconnect,
(unsigned long)xprt);
OpenPOWER on IntegriCloud