summaryrefslogtreecommitdiff
path: root/kernel/rtmutex_common.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2013-05-09 15:35:12 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2013-05-09 15:35:12 (GMT)
commit7c088b5120ffef017e2ddc38f992277e96436ef6 (patch)
tree9cfeea9e1adc62a0e0ee452bdcbb6fc748358b6d /kernel/rtmutex_common.h
parentff305ded9ff83436039a16d31bc558dc6598d7ce (diff)
downloadlinux-fsl-qoriq-7c088b5120ffef017e2ddc38f992277e96436ef6.tar.xz
ftrace: Have ftrace_regex_write() return either read or error
As ftrace_regex_write() reads the result of ftrace_process_regex() which can sometimes return a positive number, only consider a failure if the return is negative. Otherwise, it will skip possible other registered probes and by returning a positive number that wasn't read, it will confuse the user processes doing the writing. Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions