diff options
author | des <des@FreeBSD.org> | 2004-01-11 20:07:15 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-01-11 20:07:15 +0000 |
commit | 4efce4e230c119a95472ff197298a5c22bc9b97a (patch) | |
tree | fbebdbc092828889eb2416854a4c7cec7c36b4bd | |
parent | 6f30d8a7a3589e1b22bba8ba820d4d0321f9d0b4 (diff) | |
download | FreeBSD-src-4efce4e230c119a95472ff197298a5c22bc9b97a.zip FreeBSD-src-4efce4e230c119a95472ff197298a5c22bc9b97a.tar.gz |
Back out 1.166, which was committed by mistake.
-rw-r--r-- | sys/kern/uipc_syscalls.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index e0fd0b7..3007c75 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -125,7 +125,6 @@ socket(td, uap) if (error) { if (fdp->fd_ofiles[fd] == fp) { fdp->fd_ofiles[fd] = NULL; - fdunused(fdp, fd); FILEDESC_UNLOCK(fdp); fdrop(fp, td); } else { @@ -392,7 +391,6 @@ noconnection: FILEDESC_LOCK(fdp); if (fdp->fd_ofiles[fd] == nfp) { fdp->fd_ofiles[fd] = NULL; - fdunused(fdp, fd); FILEDESC_UNLOCK(fdp); fdrop(nfp, td); } else { @@ -587,7 +585,6 @@ free4: FILEDESC_LOCK(fdp); if (fdp->fd_ofiles[sv[1]] == fp2) { fdp->fd_ofiles[sv[1]] = NULL; - fdunused(fdp, sv[1]); FILEDESC_UNLOCK(fdp); fdrop(fp2, td); } else { @@ -598,7 +595,6 @@ free3: FILEDESC_LOCK(fdp); if (fdp->fd_ofiles[sv[0]] == fp1) { fdp->fd_ofiles[sv[0]] = NULL; - fdunused(fdp, sv[0]); FILEDESC_UNLOCK(fdp); fdrop(fp1, td); } else { |