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 X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CE0FC11D25 for ; Thu, 20 Feb 2020 23:08:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73263222C4 for ; Thu, 20 Feb 2020 23:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582240116; bh=npUvA3Z4rYmLdHA5oXZiFkJuo1vKCyirh+g/aJDCmjc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=gZTlwI6/L4NcVOnWu0JPorZYWei6o5pqhkklKrvuzbGwRjSzaFHhmtA8uxf4CxC4g 4f8oSnNpYTyYcIW8kt8OGXWbowvFz7aw43TASpLO/3RLqmB0WbC0sGy6PLLI5vSKQu iK+s6+b2pHmAkSce/OokdhufoqqvqxPvxgCl9wec= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729371AbgBTXIf (ORCPT ); Thu, 20 Feb 2020 18:08:35 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39349 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729298AbgBTXIe (ORCPT ); Thu, 20 Feb 2020 18:08:34 -0500 Received: by mail-ed1-f67.google.com with SMTP id m13so50422edb.6 for ; Thu, 20 Feb 2020 15:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oW+dHyuXcdgcpFOp9rkCYNNzyvxL/1mmVUWMW1tVkn8=; b=HsJYplXHj9WIosfuyYDxgCIpizr4Q2QTncG0r8kQoBcqx1jdtsR9fFVeYAPGlhnI5Y 7UWBHhKU9LT9oEd08VowjnmWRULPbdq+faWGzRjHU4lCzwffnnc4X3O8+YTbupxrOXam he3lTa6POmGxUb6ylyx451mYPhWfQQq6/MfdM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oW+dHyuXcdgcpFOp9rkCYNNzyvxL/1mmVUWMW1tVkn8=; b=BazxuZR/ddefnlynsgFdIjrsaL6nUhGw4FpHw6H/Dksfw66unH89tBmLrlNVP6okcq +O+PjutDKLLgHSI8KHLM/UUt6f58w1rhztDVl5394/V2WYZ25d89CkLndvvZcVDjhbJs CEtIxooYXMofMu+9wUHlCtIauiBHmDsAVrCRcnZhGeE8spmXdpKSPceMoirS+vPCHFJF bXpKwWcX98bthVLNWSSzfUjVsxImpIam3/+3ufYXJcCx15hN643iWoQQ5W5ijZMcTS7S 4dhSW90lZeKklGs0QcJdr02DrzDpH7cMZZwbBXGi2X64ujXk34iutzz7xUyPRbKqdcBt BbNw== X-Gm-Message-State: APjAAAX5YP8ZBGV7wPu8X73S+XPbDkqMewUFjW2pv9RsVTuEXiUJ8fgu uxmIAZ7u28yIzWVatHNzpiuZT5XrKkI= X-Google-Smtp-Source: APXvYqy4QnN1ahhrav9yDHN0JZ7lyt0kZlRCM10sjrRQEJ/R7am1VIPhNoBddAE6xL14kiTRaND4Iw== X-Received: by 2002:aa7:d9c2:: with SMTP id v2mr30476095eds.88.1582240112644; Thu, 20 Feb 2020 15:08:32 -0800 (PST) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com. [209.85.208.46]) by smtp.gmail.com with ESMTPSA id h61sm92555edd.49.2020.02.20.15.08.32 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Feb 2020 15:08:32 -0800 (PST) Received: by mail-ed1-f46.google.com with SMTP id p14so14360edy.13 for ; Thu, 20 Feb 2020 15:08:32 -0800 (PST) X-Received: by 2002:a2e:88c5:: with SMTP id a5mr20496205ljk.201.1582239629960; Thu, 20 Feb 2020 15:00:29 -0800 (PST) MIME-Version: 1.0 References: <20200212200335.GO23230@ZenIV.linux.org.uk> <20200212203833.GQ23230@ZenIV.linux.org.uk> <20200212204124.GR23230@ZenIV.linux.org.uk> <87lfp7h422.fsf@x220.int.ebiederm.org> <87pnejf6fz.fsf@x220.int.ebiederm.org> <871rqpaswu.fsf_-_@x220.int.ebiederm.org> <87blpt9e6m.fsf_-_@x220.int.ebiederm.org> <20200220225420.GR23230@ZenIV.linux.org.uk> In-Reply-To: <20200220225420.GR23230@ZenIV.linux.org.uk> From: Linus Torvalds Date: Thu, 20 Feb 2020 15:00:13 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/7] proc: Use d_invalidate in proc_prune_siblings_dcache To: Al Viro Cc: "Eric W. Biederman" , LKML , Kernel Hardening , Linux API , Linux FS Devel , Linux Security Module , Akinobu Mita , Alexey Dobriyan , Andrew Morton , Andy Lutomirski , Daniel Micay , Djalal Harouni , "Dmitry V . Levin" , Greg Kroah-Hartman , Ingo Molnar , "J . Bruce Fields" , Jeff Layton , Jonathan Corbet , Kees Cook , Oleg Nesterov , Solar Designer Content-Type: text/plain; charset="UTF-8" Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Thu, Feb 20, 2020 at 2:54 PM Al Viro wrote: > > s/no inode.*/it's a directory inode./ That actually makes my worry go away too. We don't allow aliases for directory inodes, iirc. So then it doesn't depend on some /proc implementation issue any more, then it's fundamental that there's only one dentry. Linus