From owner-freebsd-current Mon Apr 23 15:17:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id B21A637B423 for ; Mon, 23 Apr 2001 15:17:18 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f3NMGkG39424; Mon, 23 Apr 2001 15:16:46 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200104232312.aa52217@salmon.maths.tcd.ie> Date: Mon, 23 Apr 2001 15:16:11 -0700 (PDT) From: John Baldwin To: Ian Dowse Subject: Re: kernel core Cc: "David W. Chapman Jr." , freebsd-current@FreeBSD.org, Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 23-Apr-01 Ian Dowse wrote: > In message <200104232208.f3NM8d876569@harmony.village.org>, Warner Losh > writes: >>: >>: Yes, but until such time as we do that we should warn people in UPDATING at >>: least. >>: >> >>OK, but you won't like the UPDATING entry. > > The bug actually looks fairly simple to fix. ffs_reload() isn't > checking if the new superblock fields are zero, so if an old fsck > zeros them out between a read-oly mount and a read-write remount, > then we get a division by zero or something later. Fair enough, I guess ffs_reload() should just sanity check the values. Any takers? > Ian -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message