diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2025-01-19 18:12:10 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2025-01-19 19:50:26 +0300 |
commit | fddca52766e276cb2fdc0be940ad75e0f01e214e (patch) | |
tree | 9748b8362d15a56e42ad82895a892fa0c0a60848 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7e365c7e2cc587ac90c346a52156a6b08845d909 (diff) | |
download | linux-fddca52766e276cb2fdc0be940ad75e0f01e214e.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions