John Baldwin 2a522eb9d3 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
2005-11-08 17:43:05 +00:00
..
2005-10-30 02:14:37 +00:00
2005-10-03 06:57:29 +00:00
2005-11-08 17:11:03 +00:00
2005-11-06 16:47:59 +00:00
2005-08-28 05:38:40 +00:00
2005-03-14 06:51:29 +00:00
2005-10-30 02:14:37 +00:00
2005-10-16 20:40:40 +00:00
2005-11-08 17:43:05 +00:00