diff options
author | mp <mp@FreeBSD.org> | 2006-09-06 15:11:20 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2006-09-06 15:11:20 +0000 |
commit | f2b00303747b659d7f01f44204c9fb9cfefb33cd (patch) | |
tree | c0aa175566fa9493cbce11bc2dac1d6acc12c50a | |
parent | a11da36d0ee152d916d45a7767e1985111fab1dc (diff) | |
download | FreeBSD-src-f2b00303747b659d7f01f44204c9fb9cfefb33cd.zip FreeBSD-src-f2b00303747b659d7f01f44204c9fb9cfefb33cd.tar.gz |
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
-rw-r--r-- | sys/kern/vfs_aio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 2f8de18..2b22788 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -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); |