|
@@ -2869,7 +2869,7 @@ rb_get_reader_page(struct ring_buffer_per_cpu *cpu_buffer)
|
|
* Splice the empty reader page into the list around the head.
|
|
* Splice the empty reader page into the list around the head.
|
|
*/
|
|
*/
|
|
reader = rb_set_head_page(cpu_buffer);
|
|
reader = rb_set_head_page(cpu_buffer);
|
|
- cpu_buffer->reader_page->list.next = reader->list.next;
|
|
|
|
|
|
+ cpu_buffer->reader_page->list.next = rb_list_head(reader->list.next);
|
|
cpu_buffer->reader_page->list.prev = reader->list.prev;
|
|
cpu_buffer->reader_page->list.prev = reader->list.prev;
|
|
|
|
|
|
/*
|
|
/*
|