Remove call to fdfree() for the AIO daemons to prevent kernel panics
with linprocfs. This call is not needed since file descriptor sharing
was removed in v1.125.
This commit is contained in:
mp 2006-09-09 01:30:11 +00:00
parent b04f4baadd
commit d499571b61

View File

@ -799,12 +799,6 @@ aio_daemon(void *uproc)
TAILQ_INSERT_HEAD(&aio_freeproc, aiop, list);
mtx_unlock(&aio_freeproc_mtx);
/*
* Get rid of our current filedescriptors. AIOD's don't need any
* filedescriptors, except as temporarily inherited from the client.
*/
fdfree(td);
/* The daemon resides in its own pgrp. */
MALLOC(newpgrp, struct pgrp *, sizeof(struct pgrp), M_PGRP,
M_WAITOK | M_ZERO);