From: James Bottomley Date: Thu, 3 Jul 2014 17:17:34 +0000 (+0200) Subject: scsi: handle flush errors properly X-Git-Tag: omap-for-v3.17/fixes-against-rc2~208^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89fb4cd1f717a871ef79fa7debbe840e3225cd54;p=pandora-kernel.git scsi: handle flush errors properly Flush commands don't transfer data and thus need to be special cased in the I/O completion handler so that we can propagate errors to the block layer and filesystem. Signed-off-by: James Bottomley Reported-by: Steven Haber Tested-by: Steven Haber Reviewed-by: Martin K. Petersen Cc: stable@vger.kernel.org Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed