]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit685c192d1fc9043780c8864943b2df4973ce5fa6
treebacb981405c9d60cbbd63c4a5a96fa8498683167
parente0a3318abb998c78300dc877503f2a196170615b
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