tracing: Do not block on splice if either file or splice NONBLOCK flag is set
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Fri, 1 Mar 2013 01:03:06 +0000 (20:03 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:34:48 +0000 (00:34 -0400)
commit189e5784f6c5e001a84127b83f03bc76a8bfb1ec
tree56aa2f0cc1d00fbc74f70b84b1c5f2eabe53cb19
parent92edca073c374f66b8eee20ec6426fb0cdb6c4d5
tracing: Do not block on splice if either file or splice NONBLOCK flag is set

Currently only the splice NONBLOCK flag is checked to determine if
the splice read should block or not. But the file descriptor NONBLOCK
flag also needs to be checked.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c