diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2011-10-25 14:17:18 +0300 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-25 13:19:13 +0200 |
commit | 8e356b1e2a888c59d10a4842995a3273ca2d9086 (patch) | |
tree | 053ac23e3c8f8e4164f83774f673bbdf8d2a8920 /net/sunrpc/svc.c | |
parent | e40f5e29ef0909ecba1d759cc930efb7a9a7d935 (diff) |
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/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 1 |
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); } |