diff options
author | Seiji Aguchi <seiji.aguchi@hds.com> | 2012-11-14 21:28:50 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2012-11-27 01:08:30 +0100 |
commit | 0f7de85a94de553c6cb222b70ac4032d265b362d (patch) | |
tree | 9d9dbb7ade849ef391c2464393531c44c1d2e15e /include/drm/drmP.h | |
parent | efi_pstore: Add a sequence counter to a variable name (diff) | |
download | linux-0f7de85a94de553c6cb222b70ac4032d265b362d.tar.xz linux-0f7de85a94de553c6cb222b70ac4032d265b362d.zip |
efi_pstore: Add a format check for an existing variable name at reading time
[Issue]
a format of variable name has been updated to type, id, count and ctime
to support holding multiple logs.
Format of current variable name
dump-type0-1-2-12345678
type:0
id:1
count:2
ctime:12345678
On the other hand, if an old variable name before being updated
remains, users can't read it via /dev/pstore.
Format of old variable name
dump-type0-1-12345678
type:0
id:1
ctime:12345678
[Solution]
This patch add a format check for the old variable name in a read callback
to make it readable.
Signed-off-by: Seiji Aguchi <seiji.aguchi@hds.com>
Acked-by: Mike Waychison <mikew@google.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/drm/drmP.h')
0 files changed, 0 insertions, 0 deletions