summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-10-18 17:42:28 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-10-18 17:42:28 +0000
commit4562d72638c5a16ab7d2834a836706d5c3b5f367 (patch)
treee19706fa31401b52bff9c46f01502acaa3a582b0
parentb86ec922be51324fdc6e7d847d6784cf1b526baa (diff)
Notes
-rw-r--r--sys/kern/kern_descrip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index c6fdbc1533f1..6c9ca9d39433 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -1380,9 +1380,7 @@ fdfree(td)
if (*fpp)
(void) closef(*fpp, td);
}
- PROC_LOCK(td->td_proc);
td->td_proc->p_fd = NULL;
- PROC_UNLOCK(td->td_proc);
if (fdp->fd_nfiles > NDFILE)
FREE(fdp->fd_ofiles, M_FILEDESC);
if (fdp->fd_cdir)