[PATCH 5.10 117/226] ring-buffer: Do not attempt to read past "commit"