diff options
| author | 2026-09-16 16:28:12 +0100 | |
|---|---|---|
| committer | 2026-10-15 19:51:42 -0400 | |
| commit | 9fd830120fd61ab934aff90361586e65b8dd020d (patch) | |
| tree | 5efaa1c27ddc9015e85d70d045f97f7a5af3e3c4 /scripts/Makefile.thinlto | |
| parent | ring-buffer: Unify ring buffer minimum page calculations (diff) | |
ring-buffer: Clean up resize_disabled checks
ring_buffer_subbuf_order_set() checks for resize_disabled twice under
the same buffer->mutex hold. Moreover, this check duplicates the logic
in ring_buffer_resize(). Create a common helper rb_resize_disabled() to
factor out this code.
Link: https://patch.msgid.link/20260916152813.105082-2-vdonnefort@google.com
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
