ring-buffer: fix ret in rb_add_time_stamp
authorSteven Rostedt <srostedt@redhat.com>
Fri, 5 Jun 2009 18:11:30 +0000 (14:11 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 9 Jun 2009 16:33:30 +0000 (12:33 -0400)
The update of ret got mistakenly added to the if statement of
rb_try_to_discard. The variable ret should be 1 on commit and zero
otherwise.

[ Impact: fix compiler warning and real bug ]

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

No differences found