Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp266826ybm; Thu, 28 May 2020 22:54:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTCZjyPBdYvEyb5x2l/fpnXJTXWgJ1y5RQtLrcsKsC9dsRsKv3wFwBw2crxm1naCUUlMZY X-Received: by 2002:a17:906:bce6:: with SMTP id op6mr6002091ejb.337.1590731640149; Thu, 28 May 2020 22:54:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590731640; cv=none; d=google.com; s=arc-20160816; b=Pi78UfnK4c2N2KcREbrRTUvddQ3prK8NAqw/JL0MW3fK49VexDtCHhROIydAgKUgQn lHBr57LuKQ4e8EDU/KewjUjImLV4Ob3O8qCFPurtaY34W74W1P6S/rGDWFeDyrD5rSz4 Q6P3C6AJaubJi7jTTH6mrez7kCqomzrpfaEihJ2WualZRDK1cPcvVTZYNGKZZEbfH9WM vdVJ3KzU5BDT8817z0busbt948GBzl3RAEFm8LDogB05GqCWWM85L+tVKxnC4dKuISrs vSiHTeqFs/twg0WNM777upGoG9FuZbdhbZahrdO/nCh3/QCAbh/2MM5ao2fxZM0eQoHw JJmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=GBhr00zMN9ovDLmVS5KiBEqR8HZuwRE6j84WQi9s2D0=; b=LUFaQ9/PohvVNjIbVeXsRdun8W1DIpyKZ4/dMP+/E0iHUX00AfL1HP5xXmwEg4phy2 vLr8nnTcIGlgN0hlZ1Xql1a1Es8RE1D87m+5ysTxH1fZPNJHXmvNzxqzGnmDlGPTOBg+ ayjvI+upN6gK3/SSRMjIkYexYvw8V1jx9oHtTC2op4Y2ZYZSpAi+wenrcZCuO3e0huct iZGsdDyvNfkTTjK/gohS4ger2kytojP8f1w3tZPo1/C40YWTC9nSlg1HsPp23pnzDOPT /VEsPkhCa7z58yXqjHbIqsZUVq3XIhqQYiGFQOX+fgVVjyyLnq0vSr/HG142/TXJnsL7 rhmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g23si4823862eds.168.2020.05.28.22.53.37; Thu, 28 May 2020 22:54:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726398AbgE2Fvf (ORCPT + 99 others); Fri, 29 May 2020 01:51:35 -0400 Received: from verein.lst.de ([213.95.11.211]:59701 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbgE2Fvf (ORCPT ); Fri, 29 May 2020 01:51:35 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id A423568BFE; Fri, 29 May 2020 07:51:31 +0200 (CEST) Date: Fri, 29 May 2020 07:51:31 +0200 From: Christoph Hellwig To: Al Viro Cc: Christoph Hellwig , Linus Torvalds , Ian Kent , David Howells , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, netfilter-devel@vger.kernel.org Subject: Re: [PATCH 06/14] fs: remove the call_{read,write}_iter functions Message-ID: <20200529055131.GA6788@lst.de> References: <20200528054043.621510-1-hch@lst.de> <20200528054043.621510-7-hch@lst.de> <20200528185643.GL23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200528185643.GL23230@ZenIV.linux.org.uk> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 28, 2020 at 07:56:43PM +0100, Al Viro wrote: > On Thu, May 28, 2020 at 07:40:35AM +0200, Christoph Hellwig wrote: > > Just open coding the methods calls is a lot easier to follow. > > Not sure about this one, TBH - it's harder to grep that way, since > you get all the initializers for read_iter/write_iter thrown into > the mix. Sure, you can do something like '\->[ ]*read_iter\>', > but it's a PITA. Which you have to do anyway as not all calls go through these weird helpers.