Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 15:16:11 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, freebsd-current@FreeBSD.org, Warner Losh <imp@harmony.village.org>
Subject:   Re: kernel core
Message-ID:  <XFMail.010423151611.jhb@FreeBSD.org>
In-Reply-To: <200104232312.aa52217@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




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