[PATCH 5.10 040/135] ring-buffer: Do not swap cpu_buffer during resize process