summaryrefslogtreecommitdiff
path: root/fs/squashfs/file.c
diff options
context:
space:
mode:
authorZubin Mithra <zsm@chromium.org>2018-07-25 10:19:01 -0700
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-07-31 11:32:44 -0400
commit5248ee85603067e62a228402afd2fb68f957746b (patch)
tree2f9c99ec03cf8189bf1323ed80f3e04f34189ea3 /fs/squashfs/file.c
parentc3bc8fd637a9623f5c507bd18f9677effbddf584 (diff)
tracefs: Annotate tracefs_ops with __ro_after_init
tracefs_ops is initialized inside tracefs_create_instance_dir and not modified after. tracefs_create_instance_dir allows for initialization only once, and is called from create_trace_instances(marked __init), which is called from tracer_init_tracefs(marked __init). Also, mark tracefs_create_instance_dir as __init. Link: http://lkml.kernel.org/r/20180725171901.4468-1-zsm@chromium.org Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Zubin Mithra <zsm@chromium.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'fs/squashfs/file.c')
0 files changed, 0 insertions, 0 deletions