[PATCH openEuler-5.10 094/557] pstore: Don't use semaphores in always-atomic-context code