ring-buffer: Init waitqueue for blocked readers
authorSteven Rostedt (Red Hat) <srostedt@redhat.com>
Mon, 4 Mar 2013 22:33:05 +0000 (17:33 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 15 Mar 2013 04:34:55 +0000 (00:34 -0400)
commitf1dc6725882b5ca54eb9a04436a3b47d58f2cbc7
tree629ea73f0f6e3e44420c59aa42501f5668f4f085
parent523c81135bb23b2d9a8c21365d90d21b1309c138
ring-buffer: Init waitqueue for blocked readers

The move of blocked readers to the ring buffer left out the
init of the wait queue that is used. Tests missed this due to running
stress tests against the buffers, which didn't allow for any
readers to end up waiting. Running a simple read and wait triggered
a bug.

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