[PATCH 5.15 039/139] ring-buffer: Do not swap cpu_buffer during resize process