[for-linus][PATCH 1/2] ring-buffer: Protect ring_buffer_reset() from reentrancy