cvs commit: src/sys/gnu/fs/ext2fs ext2_bitops.h

Martin Cracauer cracauer at FreeBSD.org
Thu Apr 13 19:37:38 UTC 2006


cracauer    2006-04-13 19:37:32 UTC

  FreeBSD src repository

  Modified files:
    sys/gnu/fs/ext2fs    ext2_bitops.h 
  Log:
  Repair ext2fs writes.
  
  Strong candidate for backport to 6.x.
  
  When allocating new blocks, the search for block group beginnings
  would fail with a segfault.  There was a side-effect read access with
  an off-by-one errors.  The results were not used in the error case so
  the code worked in the past.  But now the FreeBSD kernel has tighter
  mappings and the word accessed is not mapped (for me).
  
  The Linux kernel has rewritten most of the allocation strategy by now.
  Also, the Linux kernel cleaned up the integration of these files and
  it look feasable to wrap the original Linux files in wrapper that
  provides their favorite arguments instead of dragging around our own
  code.
  
  Revision  Changes    Path
  1.3       +1 -1      src/sys/gnu/fs/ext2fs/ext2_bitops.h


More information about the cvs-all mailing list