From: Kees Cook Date: Thu, 17 Nov 2011 21:13:29 +0000 (-0800) Subject: pstore: pass reason to backend write callback X-Git-Tag: v3.3-rc1~178^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d6d8d20ec4fd3b256632edb373a9c504724b8a9;p=pandora-kernel.git 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 Signed-off-by: Tony Luck --- Reading git-diff-tree failed