diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2011-10-25 07:17:18 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-25 07:19:13 -0400 |
commit | 8e356b1e2a888c59d10a4842995a3273ca2d9086 (patch) | |
tree | 053ac23e3c8f8e4164f83774f673bbdf8d2a8920 /net/sunrpc | |
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')
-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) | |||
530 | if (svc_serv_is_pooled(serv)) | 530 | if (svc_serv_is_pooled(serv)) |
531 | svc_pool_map_put(); | 531 | svc_pool_map_put(); |
532 | 532 | ||
533 | svc_unregister(serv); | ||
534 | kfree(serv->sv_pools); | 533 | kfree(serv->sv_pools); |
535 | kfree(serv); | 534 | kfree(serv); |
536 | } | 535 | } |