[for-linus][PATCH 5/5] tracing/ring-buffer: Fix wait_on_pipe() race