mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
[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 <[email protected]> Acked-by: Mike Waychison <[email protected]> Signed-off-by: Tony Luck <[email protected]>