• Ard Biesheuvel's avatar
    efi: pstore: Omit efivars caching EFI varstore access layer · 85974825
    Ard Biesheuvel authored
    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>
    85974825
vars.c 34.3 KB