Date: Tue, 18 Mar 2003 11:51:42 +0100 From: des@ofug.org (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: walt <wa1ter@myrealbox.com> Cc: freebsd-current@freebsd.org Subject: Re: Why did INVARIANTS hide the geom bug? Message-ID: <xzpu1e12bi9.fsf@flood.ping.uio.no> In-Reply-To: <3E76018F.5030406@myrealbox.com> (walt's message of "Mon, 17 Mar 2003 09:10:39 -0800") References: <b53sfq$dke$1@FreeBSD.csie.NCTU.edu.tw> <3E76018F.5030406@myrealbox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
walt <wa1ter@myrealbox.com> writes: > Looking at the code thru my amateur eyes it appears that > defining INVARIANTS allows the programmer to add whatever > code he wishes with an ifdef statement. That covers a > lot of territory. Looking thru sys/geom I don't see any > such ifdefs in your code, so I still don't know why the > recent geom bug was hidden by INVARIANTS. On the contrary, there is a lot on INVARIANTS-specific code in GEOM: des@dwp /sys/geom% grep -r KASSERT . | wc -l 120 DES -- Dag-Erling Smorgrav - des@ofug.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?xzpu1e12bi9.fsf>