[PATCH 6.5 179/321] ring-buffer: Do not attempt to read past "commit"