diff options
author | Mathias Krause <[email protected]> | 2024-08-07 13:51:38 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-08-07 18:49:06 -0400 |
commit | 0df2ac59bebfac221463ef57ed3554899b41d75f (patch) | |
tree | 8dc13bdb5a9d5281f769851b30af784803507c4a /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 6e2fdceffdc6bd7b8ba314a1d1b976721533c8f9 (diff) |
tracefs: Fix inode allocation
The leading comment above alloc_inode_sb() is pretty explicit about it:
/*
* This must be used for allocating filesystems specific inodes to set
* up the inode reclaim context correctly.
*/
Switch tracefs over to alloc_inode_sb() to make sure inodes are properly
linked.
Cc: Ajay Kaher <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Al Viro <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/[email protected]
Fixes: ba37ff75e04b ("eventfs: Implement tracefs_inode_cache")
Signed-off-by: Mathias Krause <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions