summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2021-11-29 05:51:25 +0100
committerChuck Lever <chuck.lever@oracle.com>2021-12-13 19:42:49 +0100
commit89b24336f03a8ba560e96b0c47a8434a7fa48e3c (patch)
tree10fc182348b0d0be1e793704a44557f30f4dd4ce /fs/nfs
parentNFSD: Fix sparse warning (diff)
downloadlinux-89b24336f03a8ba560e96b0c47a8434a7fa48e3c.tar.xz
linux-89b24336f03a8ba560e96b0c47a8434a7fa48e3c.zip
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: NeilBrown <neilb@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions