pstore: Add extra context for writes and erases
authorMatthew Garrett <mjg@redhat.com>
Thu, 21 Jul 2011 20:57:53 +0000 (16:57 -0400)
committerTony Luck <tony.luck@intel.com>
Fri, 22 Jul 2011 23:14:20 +0000 (16:14 -0700)
commit56280682ceeef74b692b3e21d1872049eea7c887
tree6d00729db23dff065ad60bf2f7be3f96b6fd4008
parent638c1fd3033c76778e6d9975ad8a4a9cdd5b96d9
pstore: Add extra context for writes and erases

EFI only provides small amounts of individual storage, and conventionally
puts metadata in the storage variable name. Rather than add a metadata
header to the (already limited) variable storage, it's easier for us to
modify pstore to pass all the information we need to construct a unique
variable name to the appropriate functions.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/acpi/apei/erst.c
fs/pstore/inode.c
fs/pstore/platform.c
include/linux/pstore.h