mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
ramoops: Only unregister when registered
While none of the "fragile" pstore backends unregister yet, if they ever did, the unregistering code for the non-dump targets might get confused. This adds a check for fragile backends on unregister. Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
parent
1a695a905c
commit
a1db8060f5
1 changed files with 5 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue