mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
The CON_ENABLED flag gets cleared during unregister_console(), so make sure we already reset the console flags before calling register_console(), otherwise unloading and reloading a pstore backend will not restart console logging. Signed-off-by: Kees Cook <keescook@chromium.org>