diff options
author | Seiji Aguchi <seiji.aguchi@hds.com> | 2012-11-14 20:26:46 +0000 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2012-11-26 16:02:04 -0800 |
commit | 96480d9c8fcfd7e325e9be6a6c6846689707f8e0 (patch) | |
tree | 5bd027ca5ee3f71a0945add556601dbdf05a20c1 /fs/pstore/inode.c | |
parent | dd230fecab5e5833b11941f7f4a5732be78b1975 (diff) |
efi_pstore: Remove a logic erasing entries from a write callback to hold multiple logs
[Issue]
Currently, efi_pstore driver simply overwrites existing panic messages in NVRAM.
So, in the following scenario, we will lose 1st panic messages.
1. kernel panics.
2. efi_pstore is kicked and writes panic messages to NVRAM.
3. system reboots.
4. kernel panics again before a user checks the 1st panic messages in NVRAM.
[Solution]
A reasonable solution to fix the issue is just holding multiple logs without erasing
existing entries.
This patch removes a logic erasing existing entries in a write callback
because the logic is not needed in the write callback to support holding multiple logs.
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 'fs/pstore/inode.c')
0 files changed, 0 insertions, 0 deletions