cvs commit: src/sys/ufs/ffs ffs_alloc.c

Ken Smith kensmith at FreeBSD.org
Sat Dec 1 05:12:44 PST 2007


kensmith    2007-12-01 13:12:43 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_alloc.c 
  Log:
  Fix a broken check that recently became more annoying because it now
  gets enabled when INVARIANTS is on instead of DIAGNOSTIC (which apparently
  nobody uses).  From Tor's description:
  
    This happens when the block range spans two block maps, the first in the
    inode (mapping up to NDADDR direct blocks) and the second being the first
    indirect block.  The current check assumes that both block maps are
    indirect blocks.
  
  Work done by:   tegge
  Tested by:      kris, kensmith
  
  Revision  Changes    Path
  1.149     +4 -2      src/sys/ufs/ffs/ffs_alloc.c


More information about the cvs-src mailing list