Date: Tue, 8 Nov 2005 17:43:06 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_aio.c Message-ID: <200511081743.jA8Hh6ns018726@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-11-08 17:43:06 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_aio.c
Log:
Various and sundry cleanups:
- Use curthread for calls to knlist_delete() and add a big comment
explaining why as well as appropriate assertions.
- Use TAILQ_FOREACH and TAILQ_FOREACH_SAFE instead of handrolling them.
- Use fget() family of functions to lookup file objects instead of
grovelling around in file descriptor tables.
- Destroy the aio_freeproc mutex if we are unloaded.
Tested on: i386
Revision Changes Path
1.203 +84 -80 src/sys/kern/vfs_aio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511081743.jA8Hh6ns018726>
