From: Eric Sandeen Date: Thu, 27 Feb 2014 04:21:07 +0000 (+1100) Subject: xfs: add xfs_verifier_error() X-Git-Tag: v3.15-rc1~90^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca23f8fdd6a0dd37b3909ce7709c491f0c26399d;p=pandora-kernel.git xfs: add xfs_verifier_error() We want to distinguish between corruption, CRC errors, etc. In addition, the full stack trace on verifier errors seems less than helpful; it looks more like an oops than corruption. Create a new function to specifically alert the user to verifier errors, which can differentiate between EFSCORRUPTED and CRC mismatches. It doesn't dump stack unless the xfs error level is turned up high. Define a new error message (EFSBADCRC) to clearly identify CRC errors. (Defined to EBADMSG, bad message) Signed-off-by: Eric Sandeen Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed