From owner-cvs-src@FreeBSD.ORG Sun Sep 30 22:11:50 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6858E16A41A for ; Sun, 30 Sep 2007 22:11:50 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp808.mail.ird.yahoo.com (smtp808.mail.ird.yahoo.com [217.146.188.68]) by mx1.freebsd.org (Postfix) with SMTP id 9A26513C46A for ; Sun, 30 Sep 2007 22:11:49 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 61527 invoked from network); 30 Sep 2007 22:11:48 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@217.44.142.35 with plain) by smtp808.mail.ird.yahoo.com with SMTP; 30 Sep 2007 22:11:48 -0000 X-YMail-OSG: vmen8PcVM1nghGkniho0poBE2dfpx7hWxhJLpe8CWnOqruD_ Message-ID: <47002E2F.3030306@tomjudge.com> Date: Mon, 01 Oct 2007 00:15:59 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: Tom Judge References: <200709241339.l8ODd6k6059694@repoman.freebsd.org> <47002674.8050707@tomjudge.com> In-Reply-To: <47002674.8050707@tomjudge.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, "Bjoern A. Zeeb" , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/ufs/ffs ffs_alloc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2007 22:11:50 -0000 Tom Judge wrote: > Bjoern A. Zeeb wrote: >> bz 2007-09-24 13:39:06 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_6) >> sys/ufs/ffs ffs_alloc.c Log: >> MFC rev. 1.147 >> Fix a DIV0 in case a large value for fs_avgfilesize or fs_avgfpdir >> is given (with newfs or tunefs) and dirsize overflows. >> In case dirsize is <= 0 because of an overflow set maxcontigdirs >> to 0 so it will be 1 later. This is what would happen for large >> fs_avgfilesize. [1] >> Submitted by: pjd [1] >> Revision Changes Path >> 1.132.2.7 +4 -1 src/sys/ufs/ffs/ffs_alloc.c > > > Does this by any chance fis this PR: kern/111352? s/fis/fix/ Tom