Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 18:35:18 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ufs ufs_lookup.c
Message-ID:  <200108220135.f7M1ZIC42122@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/08/21 18:35:18 PDT

  Modified files:
    sys/ufs/ufs          ufs_lookup.c 
  Log:
  When compressing directory blocks, the dirhash code didn't check
  that the directory entry was in use before attempting to find it
  in the hash structures to change its offset. Normally, unused
  entries do not need to be moved, but fsck can leave behind some
  unused entries that do. A dirhash sanity panic resulted when the
  entry to be moved was not found. Add a check that stops entries
  with d_ino == 0 from being passed to ufsdirhash_move().
  
  Revision  Changes    Path
  1.53      +2 -2      src/sys/ufs/ufs/ufs_lookup.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108220135.f7M1ZIC42122>