From patchwork Fri Dec 8 03:27:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 175552 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5220162vqy; Thu, 7 Dec 2023 19:31:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3+uqiAG+vfEujKUmCKzzyUKYgDK5Glt5tKY3ivUu43YYu8SYH/7MzZIVJzzrxC7fvxdKo X-Received: by 2002:a17:903:187:b0:1cf:d2c5:ae87 with SMTP id z7-20020a170903018700b001cfd2c5ae87mr3867018plg.11.1702006278188; Thu, 07 Dec 2023 19:31:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702006278; cv=none; d=google.com; s=arc-20160816; b=zT6I2KDSIqTCnAMt+Z8c+7Kpl+rRMBfL8bXR+ALWiT5UqO+heqbGnlWbg66LI2lk6H pcfyKrqjrIxHMQM5jhS0vDjwRXeYpvck4XLnsmUMP9ng2D7QZ7kiDbmU7SG/OHBMhIhf 5lxX6BE2mKwFP/4veDyeD2MaytOi9Qpoyf3R3/EiODS91IfgJpd4JbnarY7oYGxuU0i2 YntYgv1Jcl8yLP3ntW1KoLLlMWAkQ7A0rXZUlhYEf7lGlHJkV4IuKt3LCJDkDEQGFOXe 76fyn6H/aN8veZSEIfFznLUrWv5eduTSBfBXw4IA10rzzDPui53mbZtLjOwBK+N96K8L y59g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=XDQYdne0DAzlGGGJZTNP/1WiB4ya0IEng6FXcLsrx3E=; fh=I45k8M33HW2Wqj1OlgncPyvUt41clxPTDAFs+9Wisus=; b=rDGf2H2sJ9K2WhYnZiMO7rSW1yuueqN1orUy4enNSG8AY/VhBZeo9fUlJgrWNlpC1p RH5eZsdlZYofOPXU0RsdJQacQjBO/gUL6mEec/LC5wVuV49V+SzCH8L4uNCCkAGQ7Efq APgOFnMCFAcsE4gZJ3ZFzWfOio6/lOV47IRMKOHD0DhY+aK/16p+iW/DQj5QzjygLSJs TbiWVfdW6Jhdh81+bnTwXJZGKmd9BqQbLvqZf/nY3Uq365tEs/70YcEuv7/1IceIKaoA d6/Q3qp2x3a4Z9HXFo8IxyMHwdGzsjDcc82NxIXL6EzBqdkPf6PoND9MY4K1CQPQjzlS uzFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kxEJzfw8; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id 19-20020a170902c21300b001cfc0272b48si800550pll.103.2023.12.07.19.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 19:31:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=kxEJzfw8; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C223B803D818; Thu, 7 Dec 2023 19:31:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229531AbjLHDay (ORCPT + 99 others); Thu, 7 Dec 2023 22:30:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235655AbjLHDav (ORCPT ); Thu, 7 Dec 2023 22:30:51 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EE261721; Thu, 7 Dec 2023 19:30:57 -0800 (PST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A5E20220FA; Fri, 8 Dec 2023 03:30:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702006255; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XDQYdne0DAzlGGGJZTNP/1WiB4ya0IEng6FXcLsrx3E=; b=kxEJzfw852I1pebVZpIvOZFm58YLyLf03hOuU+L5jy6BWRJK2dLEt3c9KZOrIcD2QX8FId VIr2VJxQAI6Q0j/JUVEroHwadNpO8y4TomUtw9vCg0ID/Edcbi0rCakZ2m0u3iI5d8pB/p DCdcyOgiklrgEguWBs0U9sOygeLf6tE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702006255; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XDQYdne0DAzlGGGJZTNP/1WiB4ya0IEng6FXcLsrx3E=; b=bvOOsRMbaJQU2pYYXCg57Ki+nRANJ2GKR5gsoIHILcCMYq6reMSFF1EPSTsS/C/CVuMLV4 02nKP3nMq0U1reAg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 6FADB1375D; Fri, 8 Dec 2023 03:30:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id WRj9AeuNcmUcMQAAD6G6ig (envelope-from ); Fri, 08 Dec 2023 03:30:51 +0000 From: NeilBrown To: Al Viro , Christian Brauner , Jens Axboe , Oleg Nesterov , Chuck Lever , Jeff Layton Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: [PATCH 3/3] VFS: don't export flush_delayed_fput(). Date: Fri, 8 Dec 2023 14:27:28 +1100 Message-ID: <20231208033006.5546-4-neilb@suse.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231208033006.5546-1-neilb@suse.de> References: <20231208033006.5546-1-neilb@suse.de> MIME-Version: 1.0 X-Spamd-Result: default: False [4.90 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_SEVEN(0.00)[9]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[36.00%] Authentication-Results: smtp-out1.suse.de; none X-Spam-Score: 4.90 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 19:31:15 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784682935125952400 X-GMAIL-MSGID: 1784682935125952400 There are no more users of flush_delayed_fput(). Modules shouldn't need it. __fput_sync() is a better approach for any code which might benefit from flush_delayed_fput() Signed-off-by: NeilBrown --- fs/file_table.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/file_table.c b/fs/file_table.c index de4a2915bfd4..de9155f82d4a 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -436,7 +436,6 @@ void flush_delayed_fput(void) { delayed_fput(NULL); } -EXPORT_SYMBOL_GPL(flush_delayed_fput); static DECLARE_DELAYED_WORK(delayed_fput_work, delayed_fput);