ring-buffer: do not swap buffers during a commit
authorSteven Rostedt <srostedt@redhat.com>
Wed, 2 Sep 2009 14:56:15 +0000 (10:56 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 4 Sep 2009 15:22:47 +0000 (11:22 -0400)
If a commit is taking place on a CPU ring buffer, do not allow it to
be swapped. Return -EBUSY when this is detected instead.

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

No differences found