From owner-cvs-all Thu Aug 23 6:51:24 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 3DEB037B408; Thu, 23 Aug 2001 06:51:14 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.5/8.11.5) with ESMTP id f7NDpPv36891; Thu, 23 Aug 2001 14:51:25 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.4/8.11.4) with ESMTP id f7NDpHg70735; Thu, 23 Aug 2001 14:51:17 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200108231351.f7NDpHg70735@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Ian Dowse Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c In-Reply-To: Message from Ian Dowse of "Tue, 21 Aug 2001 18:35:18 PDT." <200108220135.f7M1ZIC42122@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Aug 2001 14:51:17 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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 You forgot: MFC after: 17 hours 9 minutes and 43 seconds -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message