cvs commit: src/sys/kern vfs_aio.c

John Baldwin jhb at FreeBSD.org
Tue Nov 8 17:43:06 GMT 2005


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


More information about the cvs-src mailing list