From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 270D4C71153 for ; Mon, 28 Aug 2023 12:20:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232563AbjH1MTg (ORCPT ); Mon, 28 Aug 2023 08:19:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232702AbjH1MT0 (ORCPT ); Mon, 28 Aug 2023 08:19:26 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7767A124; Mon, 28 Aug 2023 05:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Grp8/JCuPAsIViMfplUamWtTBlk01R4dnjqvGinzDMs=; b=uJED1QrCMJXRtdI5sHHfmYpoZ0 Cbud45Vdrn0X3VeeuUfk1XWR7h4lJ2QO6GscBNIhzAynrBQE8HJb/CsjlY77Xx00l6Rqg6istSk2e HVJljAoOHx5jJel7lfp8JBYYwHzWJxrzPP/friZRA2oWTjjaGszC7SRR7l4A9CKttq8pD7XeQLahL xNEFlD57bG+KsynLi29XORLPL6MNeE++csJ5Ai80HGf7BA5OGM6PtTKYSsm2WBUXFaXFwih52y8RN Vl5nVERU2BkCJQtsoha1HyuDDKo1eqOx2YBaCuWwK7wPCrkSUSKhsWhSWAvyWsyy1Yz4d/ZLpncac x7zit3lg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qabD7-000Be9-1R; Mon, 28 Aug 2023 12:19:13 +0000 Date: Mon, 28 Aug 2023 13:19:12 +0100 From: Matthew Wilcox To: Christoph Hellwig Cc: Kemeng Shi , viro@zeniv.linux.org.uk, brauner@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vfs: use helpers for calling f_op->{read,write}_iter() in read_write.c Message-ID: References: <20230828155056.4100924-1-shikemeng@huaweicloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Mon, Aug 28, 2023 at 05:00:36AM -0700, Christoph Hellwig wrote: > On Mon, Aug 28, 2023 at 11:50:56PM +0800, Kemeng Shi wrote: > > use helpers for calling f_op->{read,write}_iter() in read_write.c > > > > Why? We really should just remove the completely pointless wrappers > instead. Agreed.