[PATCH 6.1 159/259] ring-buffer: Do not attempt to read past "commit"