[PATCH 4.19 066/229] ring-buffer: Fix race between reset page and reading page