From owner-cvs-all@FreeBSD.ORG Sat Dec 1 13:12:43 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECF0B16A418; Sat, 1 Dec 2007 13:12:43 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D342613C457; Sat, 1 Dec 2007 13:12:43 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lB1DChEl013168; Sat, 1 Dec 2007 13:12:43 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lB1DChEi013167; Sat, 1 Dec 2007 13:12:43 GMT (envelope-from kensmith) Message-Id: <200712011312.lB1DChEi013167@repoman.freebsd.org> From: Ken Smith Date: Sat, 1 Dec 2007 13:12:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2007 13:12:44 -0000 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