diff options
| author | Matt Domsch <[email protected]> | 2007-01-26 00:57:18 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-01-26 13:51:01 -0800 |
| commit | 496a0fc8c5572a626de41d56d7c7ed005a2c1b48 (patch) | |
| tree | 28039f07573e7f935d1e7b9e3a9aa5354b91d233 /include/linux/debugobjects.h | |
| parent | 01f2073411e01777e3c6f45a4bf05ea76493f326 (diff) | |
[PATCH] Fix race in efi variable delete code
Fix race when deleting an EFI variable and issuing another EFI command on
the same variable. The removal of the variable from the efivars_list
should be done in efivar_delete and not delayed until the kobject release.
Furthermore, remove the item from the list at module unload time, and use
list_for_each_entry_safe() rather than list_for_each_safe() for
readability.
Tested on ia64.
Signed-off-by: Prarit Bhargava <[email protected]>
Signed-off-by: Matt Domsch <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions