# Re: \[PATCH\] tracefs/eventfs: Use root and instance inodes as default ownership

- From: Linus Torvalds \<torvalds@linux-foundation.org\>
- Date: 2024-01-04 20:02:21 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2024/01/270388
- Thread: https://ratatoskr.run/linux-trace-kernel/2024/01/270295/t.md

```text
On Thu, 4 Jan 2024 at 11:35, Linus Torvalds
[ref] wrote:
>>
> Which is *NOT* the inode, because the 'struct file' has other things
> in it (the file position, the permissions that were used at open time
> etc, close-on-exec state etc etc).

That close-on-exec thing was a particularly bad example of things that
are in the 'struct file', because it's in fact the only thing that
*isn't* in 'struct file' and is associated directly with the 'int fd'.

But hopefully the intent was clear despite me picking a particularly
bad example.

            Linus
```
