Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1254385rdb; Sun, 7 Jan 2024 10:32:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYl7TR4idaBAzUgQjuYRWi8B6T22ohk8QH/BhTSX67dMwDX0bQrg+1hbGAMtnYi5LQf1r3 X-Received: by 2002:a05:620a:47d2:b0:783:8d6:2f71 with SMTP id du18-20020a05620a47d200b0078308d62f71mr3085669qkb.128.1704652372911; Sun, 07 Jan 2024 10:32:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704652372; cv=none; d=google.com; s=arc-20160816; b=L7moO2Qbc7yDUh/OfZDWsZnJdef6axbljmt9suFdaLYv1N4zVKqsdd+dqmAd/IVj5D VNc4GqDfDSmhMsNE3HNu7FzW6xnRraf7tGUpW0SqtP7O8MdWlhlF86rUWkdSEn5bUk7Z CD/X0Cu93fAC+3as7YZwdfa3Mkn8348VBBd2wGT/OnnMCDGUQaHeB35BdGz3WEkU3ThO 9Tdt9nO287AHBcfDmPU2a/YfDgh8nNm+dyKPymK1NBIn9R2+sHHShTIlMFT0TorxID9C Fl8S5Xj1B1+P6MKJUT4tj1WrdAOEXXOFzmguinHNZ7HHSe8uAKe4ioQ+FjZ81Njk8uFG Ks4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=Y2MuRulSINRlS+aOilbOAh3oSIxA6tMw2JK+VMucbpc=; fh=d0Ct0J+JiGzn8473V3+2DIY7dSmzIWejAPUIcKsWBu0=; b=Jy25TSxd4oBz1K6BAHVuizja94CaeBylpEeEQrHI5+eQAv4WMFdwbzAWqnsLP/wHGV f6Mccjlr7h/b4TccoU/4drC+psfnmWSGS1sY1ij6YsTaf/6zWA06bJYCckgYan8S0ACx z7+49ZG0+Elda3GLfd9Y3B0EzOuU9eSOgBgWvRV2HL0dWJNwIuUb/8TWcejTkWXbB5zK GOkz1pDCmmu/Sasxeym5JB+ZOjC4y08nQRKXU23Qrj9q2Z8g+WOr7AOUF4g9KfLsEkKb 6S3rtCnAkxMoFb0IVIk/orjRlx0RMYOOxvavHqcJTqoXyJe+TMIjZiYbAqhUKaWTc93d qbYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-18954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18954-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o24-20020a05620a0d5800b00781b4b89877si6006253qkl.546.2024.01.07.10.32.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 10:32:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-18954-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18954-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A77001C21396 for ; Sun, 7 Jan 2024 18:32:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0054F1119E; Sun, 7 Jan 2024 18:32:33 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D56410A1B; Sun, 7 Jan 2024 18:32:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D106CC433C7; Sun, 7 Jan 2024 18:32:30 +0000 (UTC) Date: Sun, 7 Jan 2024 13:32:28 -0500 From: Steven Rostedt To: Christian Brauner Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Mathieu Desnoyers , Linus Torvalds , Al Viro , linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] tracefs/eventfs: Use root and instance inodes as default ownership Message-ID: <20240107133228.05b0f485@rorschach.local.home> In-Reply-To: <20240107132912.71b109d8@rorschach.local.home> References: <20240103203246.115732ec@gandalf.local.home> <20240105-wegstecken-sachkenntnis-6289842d6d01@brauner> <20240105095954.67de63c2@gandalf.local.home> <20240107-getrickst-angeeignet-049cea8cad13@brauner> <20240107132912.71b109d8@rorschach.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 7 Jan 2024 13:29:12 -0500 Steven Rostedt wrote: > > > > IOW, the inode_permission() in lookup_one_len() that eventfs does is > > redundant and just wrong. > > I don't think so. Just to make it clear. eventfs has nothing to do with mkdir instance/foo. It exists without that. Although one rationale to do eventfs was so that the instance directories wouldn't recreate the same 10thousands event inodes and dentries for every mkdir done. -- Steve