Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp857446rdh; Thu, 23 Nov 2023 22:36:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPh5grA3o8lxmWlvpCHj6MquO9P5Xyie//ZxTCil/0XVAwkePPDjOcfFilZ5CKiUh80OTM X-Received: by 2002:a17:902:a5c9:b0:1cf:93e8:11c0 with SMTP id t9-20020a170902a5c900b001cf93e811c0mr1557990plq.34.1700807798722; Thu, 23 Nov 2023 22:36:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700807798; cv=none; d=google.com; s=arc-20160816; b=jIHqBFhjy9OATcgMeuyg1TI4ayVhKjiU/dH8+lJmopa3H/n2WZlQb+acmZF5NgVVxa RonpIjmRGjaOeNYVHEqSUrcfBfRBetIcl4s2eRuKMCNoTSUnshKd1UcOcHsQRi5Luoq4 /XrqcV2ygJU1X7e1ASz0jMbGl+hZBQysFHNSkk8hP256sRa2M1Pqq0EJdERaNlsdQtir 8H/1IQG20/KirdiAAsCRORa6qzTHktQTdWTFWiLdSq+TbiUvngHbbuGyG0AnrcjqA47V LY9JyL6LLR9C+aV8zWFrc90iPQ7u4hPxIt2yOnrZJZlf6cv9po6GTb/+eg6xThSld7GI qTUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VEd0FiGVy5VmF1ZrlmZcok7cqApIhcHDIftpbUYcko0=; fh=Hf/uCWbCm3WLx16/80PfKDmDGrlQo0Pz9jCD6Xun7WU=; b=LbXhwChwh1APhre6LHw2bz+Qqb66HtLaaPGP8QdwUeG3IU8Z25CQSmScB/v2O7ZabN c1dzTveFyhV3WXKnTERviG54g+sYpmw75w+aJMWELe7GqgfQvdqWGBCvcycKN9tSvWcx 90ctKoDilTEaAPIUGfEz7ck4wACg7kLfEgeSCMo1pACahUulD6G52i1S3nqeyzEiIrBQ Nr01wvflbiSJmEN0VjuoJ1funUnachAuz3EmTUMGZjFNKVoTb1toWvky0B8JSpceeitF H5C7Rh0N/ohlyjl4Nk9OIyQgO/4ryirqov/v2e588xFu72ei3RQ4b8OGVXFLL5qnq4GH oNJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EfdjMt9u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id jw10-20020a170903278a00b001cc30057e18si2600824plb.465.2023.11.23.22.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 22:36:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EfdjMt9u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5DAEA82E74DE; Thu, 23 Nov 2023 22:36:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229705AbjKXGgI (ORCPT + 99 others); Fri, 24 Nov 2023 01:36:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjKXGgH (ORCPT ); Fri, 24 Nov 2023 01:36:07 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB2AB0; Thu, 23 Nov 2023 22:36:12 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-548696eac92so2062954a12.3; Thu, 23 Nov 2023 22:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700807770; x=1701412570; darn=vger.kernel.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=VEd0FiGVy5VmF1ZrlmZcok7cqApIhcHDIftpbUYcko0=; b=EfdjMt9uuWtiW7IEaLNngRCDkaoZCEwcfstetKbQsGrJb9hkO28g9BiTdwqn0n9Hxl 15/hlyKPzvC/IfAnK00P5MOw7EuuxvVHbEE8KVBHDFMRqWlfse7a2YUUm+iqP5dxk4M6 c8Cj0+L0KoflauVKeKXAQJ+cPlKpifdn+7wyQQR+i85UNrUAyIpx+p5WHwJ/MclMsxLL 2NyFx7XFdpcNlhvGoWcmMkDhTuuEfMrwy0ZNAtasaBALK66O9M8uyAS2cwSesu+fEHUn fHqROuJoGQIe8ISexAo3tX+BlJsCwkWq9JI0wW1sdYrUwhEv3klCAeBgGJMGokpL4ANM nsjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700807770; x=1701412570; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VEd0FiGVy5VmF1ZrlmZcok7cqApIhcHDIftpbUYcko0=; b=Bmb7aGXLQC7f+iK27UNyK/3lgQJiF4HFEgbApA3XcaJKiY9OwNAazlAWqPhE0Xdhjj uwAAuYVfJugdXwugDqAePFSbAdcy0CLnp1J+em7t8/cwqwwlj7K2t07vIsV4HdA81DnN q4iuCCv4cqQDivSLyobS77JuxQ0y96Qqbrc27i2pFdPMFcYTFSNi02F/WKf5c4MJ6QON fI/QZ1cZAwbLRJ1wWD7f0Hb8OVm2rt3Vc8tN/O2DltgIzRxFkAayBtk5TpJUYBjlLEpt xQCwYeGyJyXBNldoQNize7HnTVDSoaXhP3fb3jdUYekK/FGkPUcrP9/9a9Rw4gxmCr1V HtRQ== X-Gm-Message-State: AOJu0YxVp/HO3oWP1eLG5SxG3y55AscZ+HvgUnTOVZg2TcT0ga4oxYpi g5s0ojNv52xEIMn3x0pPwZ7ZZA+435UgtJuIKRJcxXOCKDI= X-Received: by 2002:a50:9e49:0:b0:547:6663:a164 with SMTP id z67-20020a509e49000000b005476663a164mr821557ede.40.1700807770436; Thu, 23 Nov 2023 22:36:10 -0800 (PST) MIME-Version: 1.0 References: <20231124060553.GA575483@ZenIV> <20231124060644.576611-1-viro@zeniv.linux.org.uk> <20231124060644.576611-15-viro@zeniv.linux.org.uk> In-Reply-To: <20231124060644.576611-15-viro@zeniv.linux.org.uk> From: Cedric Blancher Date: Fri, 24 Nov 2023 07:35:34 +0100 Message-ID: Subject: d_genocide()? What about d_holodomor(), d_massmurder(), d_execute_warcrimes()? Re: [PATCH 15/20] d_genocide(): move the extern into fs/internal.h To: linux-fsdevel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 23 Nov 2023 22:36:28 -0800 (PST) On Fri, 24 Nov 2023 at 07:08, Al Viro wrote: > > 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 *); Seriously, who came up with THAT name? "Genocide" is not a nice term, not even if you ignore political correctness. Or what will be next? d_holodomor()? d_massmurder()? d_execute_warcrimes()? Ced > > /* > * 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 > > -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur