ring-buffer: do not reset while in a commit
authorSteven Rostedt <srostedt@redhat.com>
Wed, 2 Sep 2009 13:59:48 +0000 (09:59 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 4 Sep 2009 15:15:08 +0000 (11:15 -0400)
The callers of reset must ensure that no commit can be taking place
at the time of the reset. If it does then we may corrupt the ring buffer.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found