Skip to content
Commit 85974825 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi: pstore: Omit efivars caching EFI varstore access layer



Avoid the efivars layer and simply call the newly introduced EFI
varstore helpers instead. This simplifies the code substantially, and
also allows us to remove some hacks in the shared efivars layer that
were added for efi-pstore specifically.

In order to be able to delete the EFI variable associated with a record,
store the UTF-16 name of the variable in the pstore record's priv field.
That way, we don't have to make guesses regarding which variable the
record may have been loaded from.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 472831d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment