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)
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>

No differences found