[for-linus][PATCH 01/15] ring-buffer: Fix writing to the buffer with max_data_size