projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56632b5
)
nfs41: Initialize new rpc_xprt callback related fields
author
Ricardo Labiaga
<Ricardo.Labiaga@netapp.com>
Wed, 1 Apr 2009 13:22:59 +0000
(09:22 -0400)
committer
Benny Halevy
<bhalevy@panasas.com>
Wed, 17 Jun 2009 20:06:14 +0000
(13:06 -0700)
Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
net/sunrpc/xprt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/xprt.c
b/net/sunrpc/xprt.c
index 06ca058572f236bb6fd322ff1686c0aaaa088abd..52739f82df1e3993446633fae022cd7a5a34e736 100644
(file)
--- 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);