summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2011-10-25 15:17:18 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-25 15:19:13 +0400
commit8e356b1e2a888c59d10a4842995a3273ca2d9086 (patch)
tree053ac23e3c8f8e4164f83774f673bbdf8d2a8920 /net/sunrpc
parente40f5e29ef0909ecba1d759cc930efb7a9a7d935 (diff)
downloadlinux-8e356b1e2a888c59d10a4842995a3273ca2d9086.tar.xz
SUNRPC: cleanup service destruction
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 918edc310fd1..407462ff4779 100644
--- 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);
}