commit | f1dc6725882b5ca54eb9a04436a3b47d58f2cbc7 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <srostedt@redhat.com> | Mon Mar 04 17:33:05 2013 -0500 |
committer | Steven Rostedt <rostedt@goodmis.org> | Fri Mar 15 00:34:55 2013 -0400 |
tree | 629ea73f0f6e3e44420c59aa42501f5668f4f085 | |
parent | 523c81135bb23b2d9a8c21365d90d21b1309c138 [diff] |
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>