pstore: pass reason to backend write callback
authorKees Cook <keescook@chromium.org>
Thu, 17 Nov 2011 21:13:29 +0000 (13:13 -0800)
committerTony Luck <tony.luck@intel.com>
Thu, 17 Nov 2011 21:13:29 +0000 (13:13 -0800)
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>

No differences found