[pnfs] [PATCH] [SQUASHME] nfsd41: sunrpc: init xprt binding wait_queue also for backchannel
Benny Halevy
bhalevy at panasas.com
Sun Jun 8 06:21:37 EDT 2008
The xprt binding wait_queue should be initialized also for the backchannel.
Although it is not used for the backchannel xprt_destroy needs it to be
initialized.
Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
This patch solves the hang on umount in 2.6.26
net/sunrpc/xprt.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index 4c90873..2a1e27b 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -1107,8 +1107,7 @@ found:
xprt->cwnd = RPC_INITCWND;
xprt->bind_index = 0;
- if (!args->bc_sock)
- rpc_init_wait_queue(&xprt->binding, "xprt_binding");
+ rpc_init_wait_queue(&xprt->binding, "xprt_binding");
rpc_init_wait_queue(&xprt->pending, "xprt_pending");
rpc_init_wait_queue(&xprt->sending, "xprt_sending");
rpc_init_wait_queue(&xprt->resend, "xprt_resend");
--
1.5.3.3
More information about the pNFS
mailing list