From mboxrd@z Thu Jan 1 00:00:00 1970 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 E35CC7E57F for ; Wed, 22 May 2024 16:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716396588; cv=none; b=aldoEnpZmFzJJQ1swVTSiYXsK8Tlbja1i28/tworUEcplXpyMlggLdNOBjBS5IeV3b20Q7dwqWczlgp4aM0biBrpYBC1/XKTLS2vRTfVZLMtdJ3e+/d2p/u+p6ol8btUm2OQE1kUmO6u4uW40HCrtw4UQi/DhimHnHtMQXuJIXo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716396588; c=relaxed/simple; bh=5EZtOuCgfS+Mz9ETXz+eVnCePAJAmRHUWGsqrzA89Fc=; h=Message-ID:Date:From:To:Cc:Subject; b=bTZUe9EfeqRkkhiTZkOMRHCHAJDlqCexZrusn3bPzT0O1IIKD0G6C2lTfWehcbO12kUnij7C1GxLGvqYmXpm8r31EGCksgYeUMmXFSS+PznLkrlXam5FZEe8epDnF68xptlo6X/uY5D2pJsZ5Fr1wVJ3rLGXsElOeA/PShYX0AI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78D1BC2BBFC; Wed, 22 May 2024 16:49:48 +0000 (UTC) Received: from rostedt by gandalf with local (Exim 4.97) (envelope-from ) id 1s9pAd-00000006HP7-2VBo; Wed, 22 May 2024 12:50:31 -0400 Message-ID: <20240522164942.590663963@goodmis.org> User-Agent: quilt/0.68 Date: Wed, 22 May 2024 12:49:42 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Linus Torvalds , Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton Subject: [PATCH 0/4] eventfs: Simplify the permissions logic Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: While debugging the failure of the ownership test failing on the second run again, I ended up greatly simplifying the eventfs code with respect to the permissions, only to discover that the bug was elsewhere[1]. But because of the great diff-stat that this produced, not to mention the simplifying of the code, I'm going to try to get this into this merge window. [1] https://lore.kernel.org/linux-trace-kernel/20240522124504.28982867@gandalf.local.home/ Steven Rostedt (Google) (4): eventfs: Consolidate the eventfs_inode update in eventfs_get_inode() eventfs: Remove getattr and permission callbacks eventfs: Cleanup permissions in creation of inodes eventfs: Do not use attributes for events directory ---- fs/tracefs/event_inode.c | 172 +++++++++++++---------------------------------- 1 file changed, 46 insertions(+), 126 deletions(-)