[PATCH 4.19 099/105] pstore: Centralize init/exit routines