Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8323667rwr; Wed, 10 May 2023 22:48:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44eu3jG2Xx74XskUurXAIa0OOSiKvb4AfHd3MxuaHke33U4l3mtIrz6Did8Mh60bL9QVdY X-Received: by 2002:a05:6a20:7349:b0:ef:e017:c60f with SMTP id v9-20020a056a20734900b000efe017c60fmr26716777pzc.51.1683784135557; Wed, 10 May 2023 22:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683784135; cv=none; d=google.com; s=arc-20160816; b=YB3fHr4CnWonbq0oEpO25eT8PDlk6Z6GrwsxvMAuAFN334pYx6iyCJSdB2NvrrhDQQ VhienPCrY0pdY1J/SRLgb5Ggww50E4KL4zMTFQdGtlLCpFeJIvtm8TQgtTiPGvKlsesD prmpKEQURXTK8/A6sFnYywI8O3uVilVlLrW4qVQWfnj2jQKTOzmuMadEYoQCNAvPCQ18 GhvsiV7Q6eGr5RRjc0E83F22vPwEvgeR8UJBHYxGTGQSCjn9kCYsKZdO9YyO/5VuWLfm Pd6IpzoiWkYha42S6mNKQbrNBjCOuUGsZeHiXt9FG8Dg9JZenYkIARvyVxHfCDaDKd7Y pHJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3tt65IPvL25utgB/BrnwIGIDJlkpRnSh4O1Dkc9Fq28=; b=c2rMIuGKlp7b+SAn9pm+Up42hOiRyq38syu5NFaLur+rUQ2RAsdCb1AebUWiz6ilvu AACUniAPvmg4WVJYqm79Qr8tVRjZ2qTnaEDwL8Iy4s+mqYsycGGVpLRgMLKOKRQtl5ti h9dxYAfH8vUJ7T5Zk/ch7OnRzbv8NUKHhhBPPTzX1iUleqsboJQ8IOn4tzltUdZMk6o1 itB/6vQZKiKrmCRG6wOtRiWa22KY9hm+L0jAs4LHCslN+fpZFpClFC6+g56SpzpPJZCl Zv8hRSzZOzvoHb3uLnifAbhCRSbPMShwSEATdERt2DXPEdyirl/4PO476gel2/+JbNty Cm+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=gYnAPhgn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020aa796f2000000b0063b1b437e53si6792032pfq.306.2023.05.10.22.48.38; Wed, 10 May 2023 22:48:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=gYnAPhgn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236662AbjEKFmw (ORCPT + 99 others); Thu, 11 May 2023 01:42:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjEKFmu (ORCPT ); Thu, 11 May 2023 01:42:50 -0400 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E677E26A8; Wed, 10 May 2023 22:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3tt65IPvL25utgB/BrnwIGIDJlkpRnSh4O1Dkc9Fq28=; b=gYnAPhgnMOpNp4Z8f5gKm468RZ Zs6/Nk/mrEr2RUEOrPARIwcXZbj/7r9fER555WTxnGyH5CXYfaL32JNLK/OlOUOmX6Y1NwPzNqoNh by85kFktbQcOvAldc1zfB8r1cJNb91mNTp+JvqfsjUYjy3acMbt0XiY9VjTAul5cfm1MD+dbaUXH9 Gf61NgZQRquRVU+gnXtElpd5SLzF3IgjZCSSQmV2OhLDcseNVOFlIfrUQbZSMcybOFow7wwbLPDcs morBPBC/ZUTQCo3vQ2p8jTTBfB9NoE4wG6Fqssdsb7IdUKil85QEpY3Wyi7cTs7Q12mZK2oVs8Uyn /YmNHDaw==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1pwz4W-001chr-0A; Thu, 11 May 2023 05:42:36 +0000 Date: Thu, 11 May 2023 06:42:36 +0100 From: Al Viro To: ye.xingchen@zte.com.cn Cc: jgg@ziepe.ca, leon@kernel.org, jiangjian@cdjrlc.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] RDMA/core: Use fdget() and fdput() Message-ID: <20230511054236.GJ3390869@ZenIV> References: <202305051133576690069@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202305051133576690069@zte.com.cn> Sender: Al Viro X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 05, 2023 at 11:33:57AM +0800, ye.xingchen@zte.com.cn wrote: > From: Ye Xingchen > > convert the fget()/fput() uses to fdget()/fdput(). NAK on the entire series. *IF* you do that kind of replacements, you need to understand what you are doing; it's not "fdget() is like fget(), only better; using it will improve things". If that comes from seeing my patch series doing fget() to fdget() conversions, you might consider the possibility that I *do* know how to use grep. And that there might be some objective difference between the instances that had been changed and the one that had been left alone. You could try to figure it out. Or look through the list archives. Or ask... Al, more than slightly offended by the implications ;-/