xfs-masters
[Top] [All Lists]

[xfs-masters] Re: [PATCH 2.6.18-rc4-mm3 2/2] fs/xfs: Correcting error-pr

To: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx>
Subject: [xfs-masters] Re: [PATCH 2.6.18-rc4-mm3 2/2] fs/xfs: Correcting error-prone boolean-statement
From: Nathan Scott <nathans@xxxxxxx>
Date: Fri, 1 Sep 2006 11:16:01 +1000
Cc: akpm@xxxxxxxx, xfs-masters@xxxxxxxxxxx, xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <44F78A67.1060007@xxxxxxxxxxxxxx>; from ricknu-0@xxxxxxxxxxxxxx on Fri, Sep 01, 2006 at 03:18:31AM +0200
References: <44F77653.6000606@xxxxxxxxxxxxxx> <20060901100745.P3186664@xxxxxxxxxxxxxxxxxxxxxxxx> <44F78A67.1060007@xxxxxxxxxxxxxx>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Fri, Sep 01, 2006 at 03:18:31AM +0200, Richard Knutsson wrote:
> Nathan Scott wrote:
> >Are you using XFS on your systems?  What is your strategy for getting this
> >runtime tested going to be?  Or are you delegating that responsibility? :)
> >  
> Sorry, can't say that I do. So pretty please... ;)
> Seriously, I can not find a state when this may fail (if not "if (var == 
> TRUE)" happend to be correct for 'var' != 0 != 1, but that is just a bug 
> waiting to happend).
> But please correct me if I am wrong.

OK, I'll run with it in my own testing for awhile.  I was also curious to
why you didn't remove the other few B_TRUE/B_FALSE occurences?  (and the
typedef)?

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>