MFC:
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:
parent
b04f4baadd
commit
d499571b61
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user