[PATCH 5.9 17/75] ring-buffer: Update write stamp with the correct ts