aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/ring_buffer.c')
-rw-r--r--kernel/trace/ring_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index bf27bb7a63e2..2fd1752f0c85 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -1785,7 +1785,7 @@ void ring_buffer_discard_commit(struct ring_buffer *buffer,
1785 */ 1785 */
1786 RB_WARN_ON(buffer, !local_read(&cpu_buffer->committing)); 1786 RB_WARN_ON(buffer, !local_read(&cpu_buffer->committing));
1787 1787
1788 if (!rb_try_to_discard(cpu_buffer, event)) 1788 if (rb_try_to_discard(cpu_buffer, event))
1789 goto out; 1789 goto out;
1790 1790
1791 /* 1791 /*