diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2025-01-08 00:31:29 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2025-01-22 15:28:17 +0300 |
commit | b5d1e6ee761a109400e97ac6a1b91c57d0f6a43a (patch) | |
tree | 0d0e93990f4afe25b16ddbc5d395b7bdacbbc86c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0e2f98da2071bae0f07135adb9b3efdb737aaee6 (diff) | |
download | linux-b5d1e6ee761a109400e97ac6a1b91c57d0f6a43a.tar.xz |
efivarfs: add variable resync after hibernation
Hibernation allows other OSs to boot and thus the variable state might
be altered by the time the hibernation image is resumed. Resync the
variable state by looping over all the dentries and update the size
(in case of alteration) delete any which no-longer exist. Finally,
loop over all efi variables creating any which don't have
corresponding dentries.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
[ardb: - apply error pointer fixup from Dan Carpenter
- rebase onto latest version of James's efivarfs rework]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions