projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40f5e2
)
SUNRPC: cleanup service destruction
author
Stanislav Kinsbursky
<skinsbursky@parallels.com>
Tue, 25 Oct 2011 11:17:18 +0000
(14:17 +0300)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 25 Oct 2011 11:19:13 +0000
(13:19 +0200)
svc_unregister() call have to be removed from svc_destroy() since it will be
called in sv_shutdown callback.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/svc.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/svc.c
b/net/sunrpc/svc.c
index 918edc310fd1ba91a08b02c371d5324818541c53..407462ff47797cd7f2c48a6272a7621446edcc1c 100644
(file)
--- a/
net/sunrpc/svc.c
+++ b/
net/sunrpc/svc.c
@@
-530,7
+530,6
@@
svc_destroy(struct svc_serv *serv)
if (svc_serv_is_pooled(serv))
svc_pool_map_put();
- svc_unregister(serv);
kfree(serv->sv_pools);
kfree(serv);
}