Skip to content
Commit 89b24336 authored by NeilBrown's avatar NeilBrown Committed by Chuck Lever
Browse files

NFSD: handle errors better in write_ports_addfd()



If write_ports_add() fails, we shouldn't destroy the serv, unless we had
only just created it.  So if there are any permanent sockets already
attached, leave the serv in place.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent c2f1c4bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment