diff options
author | 2009-06-05 14:11:30 -0400 | |
---|---|---|
committer | 2009-06-09 12:33:30 -0400 | |
commit | f57a8a1911342265e7acdc190333c4e9235a6632 (patch) | |
tree | db7aecf9dc26311068a48da77022e0377bf5d3d6 /include/linux/blktrace_api.h | |
parent | ring-buffer: pass in lockdep class key for reader_lock (diff) | |
download | linux-rng-f57a8a1911342265e7acdc190333c4e9235a6632.tar.xz linux-rng-f57a8a1911342265e7acdc190333c4e9235a6632.zip |
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 <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/blktrace_api.h')
0 files changed, 0 insertions, 0 deletions