Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964777AbWIABQd (ORCPT ); Thu, 31 Aug 2006 21:16:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964843AbWIABQc (ORCPT ); Thu, 31 Aug 2006 21:16:32 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:17050 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S964777AbWIABQc (ORCPT ); Thu, 31 Aug 2006 21:16:32 -0400 Date: Fri, 1 Sep 2006 11:16:01 +1000 From: Nathan Scott To: Richard Knutsson Cc: akpm@osdl.org, xfs-masters@oss.sgi.com, xfs@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2.6.18-rc4-mm3 2/2] fs/xfs: Correcting error-prone boolean-statement Message-ID: <20060901111601.R3186664@wobbly.melbourne.sgi.com> References: <44F77653.6000606@student.ltu.se> <20060901100745.P3186664@wobbly.melbourne.sgi.com> <44F78A67.1060007@student.ltu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <44F78A67.1060007@student.ltu.se>; from ricknu-0@student.ltu.se on Fri, Sep 01, 2006 at 03:18:31AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 24 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/