diff options
author | Divya Indi <divya.indi@oracle.com> | 2019-08-14 19:55:24 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-11-13 15:37:29 +0100 |
commit | e585e6469d6f476b82aa148dc44aaf7ae269a4e2 (patch) | |
tree | a165cec89202db3d956b465a055fadfa92c792b7 /fs/fhandle.c | |
parent | tracing: Declare newly exported APIs in include/linux/trace.h (diff) | |
download | linux-e585e6469d6f476b82aa148dc44aaf7ae269a4e2.tar.xz linux-e585e6469d6f476b82aa148dc44aaf7ae269a4e2.zip |
tracing: Verify if trace array exists before destroying it.
A trace array can be destroyed from userspace or kernel. Verify if the
trace array exists before proceeding to destroy/remove it.
Link: http://lkml.kernel.org/r/1565805327-579-3-git-send-email-divya.indi@oracle.com
Reviewed-by: Aruna Ramakrishna <aruna.ramakrishna@oracle.com>
Signed-off-by: Divya Indi <divya.indi@oracle.com>
[ Removed unneeded braces ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions