Date: Thu, 5 Apr 2001 00:45:46 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: ctsmhn@cts.com (Matthew H. North) Cc: bde@zeta.org.au (Bruce Evans), freebsd-fs@FreeBSD.ORG Subject: Re: Reproducible kernel panics in ffs_valloc: dup_alloc Message-ID: <200104050045.RAA03573@usr08.primenet.com> In-Reply-To: <LAEKJNMMIOPFCDDPFBDEIECBCBAA.ctsmhn@cts.com> from "Matthew H. North" at Apr 04, 2001 08:54:47 AM
next in thread | previous in thread | raw e-mail | index | archive | help
> Thanks for the help. However, from my understanding of C, that patch does > nothing (except add an extra instruction or two to the kernel). It simply > adds an extra OR condition, that is always false, to an if statement. > > if CONDITION then > do something > > is exactly the same as > > if FALSE or CONDITION then > do something > > Perhaps I'm missing something. If so, please let me know. I think he meant "&&" instead of "||", which then dikes the code out. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104050045.RAA03573>