cvs commit: src/sys/kern vfs_bio.c

Peter Edwards peadar at
Tue Jul 6 16:40:41 PDT 2004

peadar      2004-07-06 23:40:40 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_bio.c 
  Fix bug introduced in rev 1.434:
  When avoiding the zeroing of "bogus_page" when it appears in a buf,
  be sure to advance the pointers into the data for successive pages.
  The bug caused file corruption when read(2)ing from a "hole" in a
  file where a previous page of the read block had already been faulted
  in: fsx tripped up on this pretty quickly. The particular access
  pattern is probably pretty unusual, so other applications probably
  wouldn't have had problems, but you'd never know.
  Reviewed By: alc@
  Revision  Changes    Path
  1.441     +3 -3      src/sys/kern/vfs_bio.c

More information about the cvs-src mailing list