diff options
author | 2025-01-19 10:12:10 -0500 | |
---|---|---|
committer | 2025-01-19 17:50:26 +0100 | |
commit | fddca52766e276cb2fdc0be940ad75e0f01e214e (patch) | |
tree | 9748b8362d15a56e42ad82895a892fa0c0a60848 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efivarfs: make variable_is_present use dcache lookup (diff) | |
download | wireguard-linux-fddca52766e276cb2fdc0be940ad75e0f01e214e.tar.xz wireguard-linux-fddca52766e276cb2fdc0be940ad75e0f01e214e.zip |
efivarfs: move variable lifetime management into the inodes
Make the inodes the default management vehicle for struct
efivar_entry, so they are now all freed automatically if the file is
removed and on unmount in kill_litter_super(). Remove the now
superfluous iterator to free the entries after kill_litter_super().
Also fixes a bug where some entry freeing was missing causing efivarfs
to leak memory.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions