diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-09-03 15:33:41 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-04 11:36:19 -0400 |
commit | dc892f7339af2d125478b800edb9081d6149665b (patch) | |
tree | 3377439556b600c7bd3d53cbc0a893dd75bed634 /fs/read_write.c | |
parent | 7e9391cfedce34eb9786bfa69d7d545dc93ef930 (diff) |
ring-buffer: remove ring_buffer_event_discard
The function ring_buffer_event_discard can be used on any item in the
ring buffer, even after the item was committed. This function provides
no safety nets and is very race prone.
An item may be safely removed from the ring buffer before it is committed
with the ring_buffer_discard_commit.
Since there are currently no users of this function, and because this
function is racey and error prone, this patch removes it altogether.
Note, removing this function also allows the counters to ignore
all discarded events (patches will follow).
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions