Skip to content

eventfs: Simplify the permissions logic

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4eventfs: Consolidate the eventfs_inode update in eventfs_get_inode()fs/tracefs/event_inode.c+23 -190 replies
2/4eventfs: Remove getattr and permission callbacksfs/tracefs/event_inode.c+0 -400 replies
3/4eventfs: Cleanup permissions in creation of inodesfs/tracefs/event_inode.c+23 -670 replies
4/4eventfs: Do not use attributes for events directoryfs/tracefs/event_inode.c+7 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] eventfs: Simplify the permissions logic

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/[email protected]/

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(-)