Commit 53e4e17
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: 1e3577a ("SUNRPC: discard sv_refcnt, and svc_get/svc_put")
Signed-off-by: NeilBrown <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>1 parent dc0d0f8 commit 53e4e17
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
388 | 391 | | |
389 | 392 | | |
390 | 393 | | |
| |||
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
495 | | - | |
496 | | - | |
497 | 498 | | |
498 | 499 | | |
499 | | - | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
0 commit comments