]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
eventfs: Do not differentiate the toplevel events directory
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 2 May 2024 20:08:25 +0000 (16:08 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 4 May 2024 08:25:37 +0000 (04:25 -0400)
commitd53891d348ac3eceaf48f4732a1f4f5c0e0a55ce
tree7e09c6ac397c596530d38d27b6eccb5c96e955ea
parent6599bd5517be66c8344f869f3ca3a91bc10f2b9e
eventfs: Do not differentiate the toplevel events directory

The toplevel events directory is really no different than the events
directory of instances. Having the two be different caused
inconsistencies and made it harder to fix the permissions bugs.

Make all events directories act the same.

Link: https://lore.kernel.org/linux-trace-kernel/20240502200905.846448710@goodmis.org
Cc: stable@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Fixes: 8186fff7ab649 ("tracefs/eventfs: Use root and instance inodes as default ownership")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
fs/tracefs/event_inode.c
fs/tracefs/internal.h