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

cvs commit: src/sys/kern vfs_bio.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Jul 2005 11:15:09 -0700 (PDT)

dillon      2005/07/28 11:15:09 PDT

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c 
  Log:
  There is a case when B_VMIO is clear where a buffer can be placed on the
  EMPTY or EMPTYKVA queues without being disassociated from its vnode.
  This can lead to a duplicate logical block panic in the red-black tree code.
  Rework brelse() to ensure that buffers are properly cleaned up before being
  placed on said queues, and add assertions to validate other cases.
  
  Reported-by: Tomaz Borstnar
  
  Revision  Changes    Path
  1.38      +68 -26    src/sys/kern/vfs_bio.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.37&r2=1.38&f=u



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