diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-05-02 16:08:26 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-05-04 04:25:37 -0400 |
commit | 22e61e15af731dbe46704c775d2335e56fcef4e9 (patch) | |
tree | d5eb4cbea4121aaad70375c1ae4e75b6be1d0cfa /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d53891d348ac3eceaf48f4732a1f4f5c0e0a55ce (diff) |
eventfs: Do not treat events directory different than other directories
Treat the events directory the same as other directories when it comes to
permissions. The events directory was considered different because it's
dentry is persistent, whereas the other directory dentries are created
when accessed. But the way tracefs now does its ownership by using the
root dentry's permissions as the default permissions, the events directory
can get out of sync when a remount is performed setting the group and user
permissions.
Remove the special case for the events directory on setting the
attributes. This allows the updates caused by remount to work properly as
well as simplifies the code.
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Andrew Morton <[email protected]>
Fixes: 8186fff7ab649 ("tracefs/eventfs: Use root and instance inodes as default ownership")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions