cvs commit: src/sys/kern vfs_bio.c vfs_subr.c
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    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 
  Log:
  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
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.68&r2=1.69&f=u
    
    
More information about the Commits
mailing list