[GIT PULL] tracefs: Updates for v7.1

From: Steven Rostedt

Date: Tue Apr 14 2026 - 08:05:14 EST



Linus,

tracefs updates for 7.1:

- Simplify error handling with guards()

Use guards() to simplify the handling of releasing locks in exit paths.

- Use dentry name snapshots instead of allocation

Instead of allocating a temp buffer to store the dentry name to use in
mkdir() and rmdir() use take_dentry_name_snapshot().

- Fix default permissions not being applied at boot

The default permissions for tracefs was 0700 to only allow root having
access. But after a change to fix other mount options the update to
permissions ignored the defined default and used the system default of
0755. This is a regression and is fixed.


Please pull the latest tracefs-v7.1 tree, which can be found at:


git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
tracefs-v7.1

Tag SHA1: e5d58661152be92434e3ef6ebcd4e9b4ceaec6dd
Head SHA1: e8368d1f4bedbb0cce4cfe33a1d2664bb0fd4f27


AnishMulay (1):
tracefs: Use dentry name snapshots instead of heap allocation

David Carlier (1):
tracefs: Fix default permissions not being applied on initial mount

Steven Rostedt (1):
eventfs: Simplify code using guard()s

----
fs/tracefs/event_inode.c | 96 ++++++++++++++++++------------------------------
fs/tracefs/inode.c | 40 +++++---------------
2 files changed, 45 insertions(+), 91 deletions(-)
---------------------------