summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_aio.c6
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);
OpenPOWER on IntegriCloud