summaryrefslogtreecommitdiffstats
path: root/mm/percpu-km.c
diff options
context:
space:
mode:
authorJeremy Kerr <jeremy.kerr@canonical.com>2012-10-05 07:54:56 +0200
committerMatt Fleming <matt.fleming@intel.com>2012-10-30 11:39:17 +0100
commit0c542edde3cecc99b180a440ae33dcb7f28642ce (patch)
tree585dc08504412ff15610f4e716e93b485a4fb2ed /mm/percpu-km.c
parentefi: Add support for a UEFI variable filesystem (diff)
downloadlinux-0c542edde3cecc99b180a440ae33dcb7f28642ce.tar.xz
linux-0c542edde3cecc99b180a440ae33dcb7f28642ce.zip
efi: Handle deletions and size changes in efivarfs_write_file
A write to an efivarfs file will not always result in a variable of 'count' size after the EFI SetVariable() call. We may have appended to the existing data (ie, with the EFI_VARIABLE_APPEND_WRITE attribute), or even have deleted the variable (with an authenticated variable update, with a zero datasize). This change re-reads the updated variable from firmware, to check for size changes and deletions. In the latter case, we need to drop the dentry. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'mm/percpu-km.c')
0 files changed, 0 insertions, 0 deletions