linux/fs/tracefs
Linus Torvalds b7f84966b6 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.
 -----BEGIN PGP SIGNATURE-----
 
 iIoEABYKADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCad+WtRQccm9zdGVkdEBn
 b29kbWlzLm9yZwAKCRAp5XQQmuv6qhjnAP9KUNAxjREVhPo9kaS2I50NlzgUJde2
 jcitFX7dfK684wEA7me2gcGvu9nJ8vlI4umNW5n5YeKA2UIKoeC5+IJrKgM=
 =idXt
 -----END PGP SIGNATURE-----

Merge tag 'tracefs-v7.1-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracefs updates from Steven Rostedt:

 - 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.

* tag 'tracefs-v7.1-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracefs: Removed unused 'ret' variable in eventfs_iterate()
  tracefs: Fix default permissions not being applied on initial mount
  tracefs: Use dentry name snapshots instead of heap allocation
  eventfs: Simplify code using guard()s
2026-04-15 16:27:32 -07:00
..
event_inode.c tracefs: Removed unused 'ret' variable in eventfs_iterate() 2026-04-14 11:08:24 -04:00
inode.c tracefs updates for 7.1: 2026-04-15 16:27:32 -07:00
internal.h tracefs: Use generic inode RCU for synchronizing freeing 2024-08-07 20:27:49 -04:00
Makefile eventfs: Implement eventfs dir creation functions 2023-07-30 18:13:33 -04:00