DragonFly BSD
DragonFly commits List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 2 Mar 2006 12:28:49 -0800 (PST)

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


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]