diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-11-21 18:10:06 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-11-22 18:37:26 -0500 |
commit | fc4561226feaad5fcdcb55646c348d77b8ee69c5 (patch) | |
tree | bb8d9f981516fd83d968ee71a494d1af13c6f4e9 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
parent | bcae32c5632fc0a0dbce46fa731cd23403117e66 (diff) |
eventfs: Do not allow NULL parent to eventfs_start_creating()
The eventfs directory is dynamically created via the meta data supplied by
the existing trace events. All files and directories in eventfs has a
parent. Do not allow NULL to be passed into eventfs_start_creating() as
the parent because that should never happen. Warn if it does.
Link: https://lkml.kernel.org/r/20231121231112.693841807@goodmis.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions