cvs commit: src/sys/kern vfs_bio.c

Konstantin Belousov kib at FreeBSD.org
Wed Dec 20 01:22:33 PST 2006


kib         2006-12-20 09:22:32 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_bio.c 
  Log:
  In rev. 1.514, iodone on async buffer may happen before code checks the
  vnode v_flag. For cluster buffers this would result in dereferencing NULL
  b_vp. To prevent the panic, cache relevant vnode flag before calling
  bstrategy.
  
  Reported by:    Peter Holm, kris
  Tested by:      Peter Holm
  Reviewed by: tegge
  Pointy hat to:  kib
  
  Revision  Changes    Path
  1.515     +9 -2      src/sys/kern/vfs_bio.c


More information about the cvs-src mailing list