commit | 9f6af27fb693c633cc46d36fc1d85efe6d6fbc17 | [log] [tgz] |
---|---|---|
author | Tony Luck <tony.luck@intel.com> | Tue Mar 22 16:01:49 2011 -0700 |
committer | Tony Luck <tony.luck@intel.com> | Tue Mar 22 16:01:49 2011 -0700 |
tree | d5474b26be0995dbe650dcd0be79a9f046335315 | |
parent | eddecbb601c9ea3fab7e67d7892010fc9426d1e6 [diff] |
pstore: cleanups to pstore_dump() pstore_dump() can be called with many different "reason" codes. Save the name of the code in the persistent store record. Also - only worthwhile calling pstore_mkfile for KMSG_DUMP_OOPS - that is the only one where the kernel will continue running. Reviewed-by: Seiji Aguchi <seiji.aguchi@hds.com> Signed-off-by: Tony Luck <tony.luck@intel.com>