Repository navigation
Commit 41ede23
ring-buffer: disable writers when resetting buffers
As a precaution, it is best to disable writing to the ring buffers
when reseting them.
[ Impact: prevent weird things if write happens during reset ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>1 parent afbab76 commit 41ede23
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2650 | 2650 | | |
2651 | 2651 | | |
2652 | 2652 | | |
| 2653 | + | |
| 2654 | + | |
2653 | 2655 | | |
2654 | 2656 | | |
2655 | 2657 | | |
| |||
2659 | 2661 | | |
2660 | 2662 | | |
2661 | 2663 | | |
| 2664 | + | |
| 2665 | + | |
2662 | 2666 | | |
2663 | 2667 | | |
2664 | 2668 | | |
| |||
0 commit comments