cvs commit: src/sys/kern vfs_bio.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jul 28 11:15:36 PDT 2005


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





More information about the Commits mailing list