cvs commit: src/sys/kern vfs_bio.c vfs_subr.c

Matthew Dillon dillon at
Thu Mar 2 12:32:55 PST 2006

dillon      2006/03/02 12:28:49 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c vfs_subr.c 
  vfs_bio_awrite() was unconditionally locking a buffer without checking
  for races, potentially resulting in the wrong buffer, an invalid buffer,
  or a recently replaced buffer being written out.  Change the call semantics
  to require a locked buffer to be passed into the function rather then
  locking the buffer in the function.
  Revision  Changes    Path
  1.57      +16 -7     src/sys/kern/vfs_bio.c
  1.69      +0 -2      src/sys/kern/vfs_subr.c

More information about the Commits mailing list