diff options
| author | 2025-01-19 10:12:10 -0500 | |
|---|---|---|
| committer | 2025-01-19 17:50:26 +0100 | |
| commit | fddca52766e276cb2fdc0be940ad75e0f01e214e (patch) | |
| tree | 9748b8362d15a56e42ad82895a892fa0c0a60848 /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | efivarfs: make variable_is_present use dcache lookup (diff) | |
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 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
