Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp849614rdh; Thu, 23 Nov 2023 22:18:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFaT1BSafGmcdvgZH2+fb82b/7aC2CI2SrScQrj1E9zQAyG0ForCC5amZLo0R6af6N1vCM X-Received: by 2002:a05:6808:1188:b0:3ab:83fe:e18f with SMTP id j8-20020a056808118800b003ab83fee18fmr1941535oil.35.1700806700510; Thu, 23 Nov 2023 22:18:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700806700; cv=none; d=google.com; s=arc-20160816; b=O7Uq3kQRzp6aE2V4TJPgLbRAUvcDGo5eCVnVSkEYH1WT8Ldwxhpk4thWV8J1EZKQPp aYQHTKs8dA3I/YpcCbvP5nlZu84zIrH2hXJ+bcrwDneROonSjipkWeUtuoJSPLtJbPt3 vXBMhJwKnAbsPvmZKyVrzOt5d1tbPVcQcb8QILGFKICMQQ0ZBCzjbIhOjY7FItCsp+vO qBWuHPU8d0GEa0Qwt4wnBqQORfhxLDkliuiLt3ZPv4CAPifZFSF+Oy3VUj8+7T0OeELZ whWLoU1gRqrd7gFI+9JwkyxGEpo+d1fhLI72RPcqfbRFFaRWKX3Qd2HBqy5zZERt1SOc K2PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/IlHdjyXvMUq90PQPZsasCErAt9FORhE4yKp5BHiqsk=; fh=vDsv/0Rb6aybIi/Xas2DR+uQpFXMLtn4no3J1t38V0s=; b=BPe7apmFDLGDLijcmAPZnHckGGl2RXGni8q1u0O2J106/uz+JSAIDcpy1P1xkpvD7x nnH0NJIG8Q41RLNHHk3uWMPdQV8eVhXv5iqNnTbnVgUm58+gPinG7Q+E50I0vnRw01TE HOKFsUtvJkBXvw0FfbeSZwyWE4g3oEzF5gVSGtjrHGy6MECXwzxc4Ij0RGklBN2fWRuA H5Cg406xhzBTLJ+c7oZnghd35s2CCDwGaHmWQkvkQCqevfye2W2jNIAn3v+85aXLsu9w NPTMyNbgtaHSDb4EeOHILzRaIySBJYpVyaOCx1bf63keR1uHa5R6yyZTL82WRwkncKoK P6mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=k4pyVtzO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f23-20020a635117000000b0055b640a6b3csi2909394pgb.884.2023.11.23.22.18.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 22:18:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=k4pyVtzO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4A4AE8189095; Thu, 23 Nov 2023 22:18:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231393AbjKXGSH (ORCPT + 99 others); Fri, 24 Nov 2023 01:18:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbjKXGSD (ORCPT ); Fri, 24 Nov 2023 01:18:03 -0500 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 09A714C13; Thu, 23 Nov 2023 22:06:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=/IlHdjyXvMUq90PQPZsasCErAt9FORhE4yKp5BHiqsk=; b=k4pyVtzOc2QWXYEOEOuKRMpx1h 6i5vBKNCgQb5KTf/XK60hSS3HkZQInhpBowEwAkDDeDuFpwoFpHLpKUEQlLBPkdWQwvTuF02foGNL lA682vraOMmeUo8iKDHR3oarSUj7urIxu6jz4SjQDrAdV1IUfqp3+89lJoFOGU7QeMkj1yyMZalFw E/H4kHQkiEJEQQSQMHFEpsEnpN5B4hgCQZnxaiRGkxlYsSBzYw0JM1i3Jf66QPrH073FwoxJQMCrv krGRMDnJ09vA6SV6PC+35yDCR6lLKokFQX9nZOTursyH6MTA41qUQC8RWuYfyNqBKiSLisy398SOx GLjKyGkQ==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1r6PKx-002Q1Z-0V; Fri, 24 Nov 2023 06:06:47 +0000 From: Al Viro To: linux-fsdevel@vger.kernel.org Cc: Linus Torvalds , Christian Brauner , linux-kernel@vger.kernel.org Subject: [PATCH 15/20] d_genocide(): move the extern into fs/internal.h Date: Fri, 24 Nov 2023 06:06:39 +0000 Message-Id: <20231124060644.576611-15-viro@zeniv.linux.org.uk> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231124060644.576611-1-viro@zeniv.linux.org.uk> References: <20231124060553.GA575483@ZenIV> <20231124060644.576611-1-viro@zeniv.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Al Viro X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 23 Nov 2023 22:18:19 -0800 (PST) Signed-off-by: Al Viro --- fs/internal.h | 1 + include/linux/dcache.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/internal.h b/fs/internal.h index 9e9fc629f935..d9a920e2636e 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -219,6 +219,7 @@ extern void shrink_dcache_for_umount(struct super_block *); extern struct dentry *__d_lookup(const struct dentry *, const struct qstr *); extern struct dentry *__d_lookup_rcu(const struct dentry *parent, const struct qstr *name, unsigned *seq); +extern void d_genocide(struct dentry *); /* * pipe.c diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 8c5e3bdf1147..b4324d47f249 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -243,9 +243,6 @@ extern void d_invalidate(struct dentry *); /* only used at mount-time */ extern struct dentry * d_make_root(struct inode *); -/* - the ramfs-type tree */ -extern void d_genocide(struct dentry *); - extern void d_mark_tmpfile(struct file *, struct inode *); extern void d_tmpfile(struct file *, struct inode *); -- 2.39.2