[PATCH 6.11 063/261] ring-buffer: Fix reader locking when changing the sub buffer order