[PATCH openEuler-5.10-LTS 11/13] ring-buffer: Fix race between reset page and reading page