commit | 3d6d8d20ec4fd3b256632edb373a9c504724b8a9 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Thu Nov 17 13:13:29 2011 -0800 |
committer | Tony Luck <tony.luck@intel.com> | Thu Nov 17 13:13:29 2011 -0800 |
tree | 6bb1a530bb50fcdb24a2db48d095480e741ae371 | |
parent | f6f8285132907757ef84ef8dae0a1244b8cde6ac [diff] |
pstore: pass reason to backend write callback This allows a backend to filter on the dmesg reason as well as the pstore reason. When ramoops is switched to pstore, this is needed since it has no interest in storing non-crash dmesg details. Drop pstore_write() as it has no users, and handling the "reason" here has no obviously correct value. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>