From: Steven Rostedt Date: Fri, 5 Jun 2009 18:11:30 +0000 (-0400) Subject: ring-buffer: fix ret in rb_add_time_stamp X-Git-Tag: v2.6.31-rc1~401^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f57a8a1911342265e7acdc190333c4e9235a6632;p=pandora-kernel.git ring-buffer: fix ret in rb_add_time_stamp 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 --- Reading git-diff-tree failed