libtracefs: Flush pipe data in tracefs_cpu_flush()

The flushing of the data read in the splice pipe was missing from
tracefs_cpu_flush(). It had a mysterious goto statement that went to the
next line?? Anyway, add the code to read the data still in the pipe.

Link: https://lore.kernel.org/linux-trace-devel/20230105231644.02c58967@gandalf.local.home

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed