Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759779AbbEEQJt (ORCPT ); Tue, 5 May 2015 12:09:49 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:41683 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993349AbbEEPRo (ORCPT ); Tue, 5 May 2015 11:17:44 -0400 Date: Tue, 5 May 2015 16:17:41 +0100 From: Al Viro To: Linus Torvalds Cc: Neil Brown , Christoph Hellwig , Linux Kernel Mailing List , linux-fsdevel Subject: Re: [PATCH 40/79] link_path_walk: turn inner loop into explicit goto Message-ID: <20150505151741.GU889@ZenIV.linux.org.uk> References: <20150505052205.GS889@ZenIV.linux.org.uk> <1430803373-4948-40-git-send-email-viro@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 25 On Tue, May 05, 2015 at 08:09:04AM -0700, Linus Torvalds wrote: > On Mon, May 4, 2015 at 10:22 PM, Al Viro wrote: > > +l: > > This looked like noise. > > PLEASE. We're not programming in Pascal (and thank all Gods for that), > so we can have labels that have meaningful names. Also, we're not > ashamed of using goto where it makes sense, so we don't need to try to > hide the labels by making them look like specks of dirt on our > monitor. > > So give the label a real name that describes what it is. Not this kind of thing. Something like this_used_to_be_the_beginning_of_loop_body? Seriously, it's strictly temporary thing - it lives for two commits and gets killed after that. Exactly because it has no good inherent meaning. The label replacing it two commits later (several lines upstream) does, and it gets better name... -- 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/