OSDN Git Service

efi: vars: Switch to new wrapper layer
authorArd Biesheuvel <ardb@kernel.org>
Tue, 21 Jun 2022 10:02:48 +0000 (12:02 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 24 Jun 2022 18:40:19 +0000 (20:40 +0200)
commitbbc6d2c6ef2248f42689ba0cab7ea8b61588bef2
treebacb981405c9d60cbbd63c4a5a96fa8498683167
parent0f5b2c69a4cbe4166ca24b76d5ada98ed2867741
efi: vars: Switch to new wrapper layer

Switch the caching linked-list efivars layer implementation to the newly
introduced efivar get/set variable wrappers, instead of accessing the
lock and the ops pointer directly. This will permit us to move this code
out of the public efivars API, and into efivarfs once the obsolete sysfs
access method is finally removed.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/vars.c