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

Konstantin Belousov kib at FreeBSD.org
Wed Sep 20 00:52:04 PDT 2006


kib         2006-09-20 07:49:28 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_softdep.c 
  Log:
  Fix the glitch introduced in rev. 1.93. In softdep_sync_metadata(),
  switch by worklist type contains two for() loops, for D_INDIRDEP and
  D_PAGEDEP. On error, these loops are exited by break, where the switch
  actually shall be leaved. Use goto instead of break to reach the error
  handling code.
  
  Reported by:    Peter Holm
  Reviewed by:    tegge
  Approved by:    pjd (mentor)
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.198     +3 -2      src/sys/ufs/ffs/ffs_softdep.c


More information about the cvs-all mailing list