[PATCH openEuler-1.0-LTS 05/21] ring-buffer: Sync IRQ works before buffer destruction