Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932519AbWHCOc7 (ORCPT ); Thu, 3 Aug 2006 10:32:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932520AbWHCOc7 (ORCPT ); Thu, 3 Aug 2006 10:32:59 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:51610 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S932519AbWHCOc6 (ORCPT ); Thu, 3 Aug 2006 10:32:58 -0400 Date: Thu, 3 Aug 2006 15:32:52 +0100 From: Christoph Hellwig To: Dave Hansen Cc: linux-kernel@vger.kernel.org, viro@ftp.linux.org.uk, herbert@13thfloor.at, hch@infradead.org Subject: Re: [PATCH 01/28] prepare for write access checks: collapse if() Message-ID: <20060803143252.GA920@infradead.org> Mail-Followup-To: Christoph Hellwig , Dave Hansen , linux-kernel@vger.kernel.org, viro@ftp.linux.org.uk, herbert@13thfloor.at References: <20060801235240.82ADCA42@localhost.localdomain> <20060801235240.2E3AC38D@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060801235240.2E3AC38D@localhost.localdomain> User-Agent: Mutt/1.4.2.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 654 Lines: 15 On Tue, Aug 01, 2006 at 04:52:40PM -0700, Dave Hansen wrote: > > We're shortly going to be adding a bunch more permission > checks in these functions. That requires adding either a > bunch of new if() conditions, or some gotos. This patch > collapses existing if()s and uses gotos instead to > prepare for the upcoming changes. Ok, please send this to akpm for inclusion ASAP so the patch series shrinks. - 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/