Skip to content
Commit 53e4e175 authored by NeilBrown's avatar NeilBrown Committed by Chuck Lever
Browse files

nfsd: nfsd_destroy_serv() must call svc_destroy() even if nfsd_startup_net() failed



If nfsd_startup_net() fails and so ->nfsd_net_up is false,
nfsd_destroy_serv() doesn't currently call svc_destroy().  It should.

Fixes: 1e3577a4 ("SUNRPC: discard sv_refcnt, and svc_get/svc_put")
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent dc0d0f88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment