summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-10-18 17:44:39 +0000
committerjhb <jhb@FreeBSD.org>2002-10-18 17:44:39 +0000
commite7e57ceb22bfb52eecd879cbef99f244281c77a5 (patch)
tree415b2de8a33896c023d1ececaf2e2e470e51b52c /sys/kern/vfs_aio.c
parent22c558ff8ce2596bab92131cb2f4cf36b666ce3d (diff)
downloadFreeBSD-src-e7e57ceb22bfb52eecd879cbef99f244281c77a5.zip
FreeBSD-src-e7e57ceb22bfb52eecd879cbef99f244281c77a5.tar.gz
fdfree() clears p_fd for us, no need to do it again.
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index f2398cf..e105cbd 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -781,7 +781,6 @@ aio_daemon(void *uproc)
* filedescriptors, except as temporarily inherited from the client.
*/
fdfree(td);
- mycp->p_fd = NULL;
mtx_unlock(&Giant);
/* The daemon resides in its own pgrp. */
OpenPOWER on IntegriCloud