git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svc: Make close transport independent
[safe/jmp/linux-2.6]
/
net
/
sunrpc
/
svc_xprt.c
diff --git
a/net/sunrpc/svc_xprt.c
b/net/sunrpc/svc_xprt.c
index
ea17b53
..
95186b5
100644
(file)
--- a/
net/sunrpc/svc_xprt.c
+++ b/
net/sunrpc/svc_xprt.c
@@
-97,6
+97,8
@@
void svc_xprt_init(struct svc_xprt_class *xcl, struct svc_xprt *xprt,
xprt->xpt_ops = xcl->xcl_ops;
kref_init(&xprt->xpt_ref);
xprt->xpt_server = serv;
+ INIT_LIST_HEAD(&xprt->xpt_list);
+ INIT_LIST_HEAD(&xprt->xpt_ready);
}
EXPORT_SYMBOL_GPL(svc_xprt_init);