diff options
| author | Ben Hutchings <ben@decadent.org.uk> | 2013-03-23 03:49:53 +0000 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2013-03-27 02:41:24 +0000 |
| commit | 80a19debc2f2d398cfa57fae97bc99826748a602 (patch) | |
| tree | 437306f68681c8883b43763b85976e537f32438d /kernel/debug/debug_core.c | |
| parent | b5393b0f83a0ea21bb6002ca5c8015931b49fc8c (diff) | |
| download | lwn-80a19debc2f2d398cfa57fae97bc99826748a602.tar.gz lwn-80a19debc2f2d398cfa57fae97bc99826748a602.zip | |
efivars: pstore: Do not check size when erasing variable
In 3.2, unlike mainline, efi_pstore_erase() calls efi_pstore_write()
with a size of 0, as the underlying EFI interface treats a size of 0
as meaning deletion.
This was not taken into account in my backport of commit d80a361d779a
'efi_pstore: Check remaining space with QueryVariableInfo() before
writing data'. The size check should be omitted when erasing.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions
