1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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.

Reviewed by:	alc, davidxu, ambrisko
MFC after:	3 days
This commit is contained in:
Mark Peek 2006-09-06 15:11:20 +00:00
parent 4962065404
commit f6d004d510
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162066

View File

@ -977,12 +977,6 @@ aio_daemon(void *_id)
aiop->aiothread = td;
aiop->aiothreadflags = 0;
/*
* 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. */
setsid(td, NULL);