aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2020-07-12 01:10:36 +0000
committerSteven Rostedt (VMware) <[email protected]>2020-09-19 02:17:14 +0000
commit22c36b18263426bdd97ef5e04c0e92224c612ee1 (patch)
tree8c42301462706949d36a4c51ebc006de12ee62b5 /fs/proc/array.c
parenttracing: toplevel d_entry already initialized (diff)
downloadkernel-22c36b18263426bdd97ef5e04c0e92224c612ee1.tar.gz
kernel-22c36b18263426bdd97ef5e04c0e92224c612ee1.zip
tracing: make tracing_init_dentry() returns an integer instead of a d_entry pointer
Current tracing_init_dentry() return a d_entry pointer, while is not necessary. This function returns NULL on success or error on failure, which means there is no valid d_entry pointer return. Let's return 0 on success and negative value for error. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions