diff options
author | Mathias Krause <minipli@grsecurity.net> | 2024-08-07 14:51:38 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-08-08 01:49:06 +0300 |
commit | 0df2ac59bebfac221463ef57ed3554899b41d75f (patch) | |
tree | 8dc13bdb5a9d5281f769851b30af784803507c4a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6e2fdceffdc6bd7b8ba314a1d1b976721533c8f9 (diff) | |
download | linux-0df2ac59bebfac221463ef57ed3554899b41d75f.tar.xz |
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 <ajay.kaher@broadcom.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/20240807115143.45927-2-minipli@grsecurity.net
Fixes: ba37ff75e04b ("eventfs: Implement tracefs_inode_cache")
Signed-off-by: Mathias Krause <minipli@grsecurity.net>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions