From: Seiji Aguchi Date: Wed, 14 Nov 2012 20:29:21 +0000 (+0000) Subject: efi_pstore: Add a format check for an existing variable name at erasing time X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~63^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f94ec0c0594ef73ab3a2f1f32735aca8ddaf65e2;p=pandora-kernel.git efi_pstore: Add a format check for an existing variable name at erasing 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 erase 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 erase callback to make it erasable. Signed-off-by: Seiji Aguchi Acked-by: Mike Waychison Signed-off-by: Tony Luck --- Reading git-diff-tree failed