From: Christoph Hellwig Date: Thu, 6 Nov 2014 21:11:22 +0000 (-0600) Subject: scsi: call device handler for failed TUR command X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~101^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e925cc431ac8285ad6e8b3fe09f6e3d8b3c30d56;p=pandora-kernel.git scsi: call device handler for failed TUR command Multipath devices using the TUR path checker need to see the sense code for a failed TUR command in their device handler. Since commit 14216561e164671ce147458653b1fea06a we always return success for mid layer issued TUR commands before calling the device handler, which stopped the TUR path checker from working. Move the call to the device handler check sense method before the early return for TUR commands to give the device handler a chance to intercept them. Signed-off-by: Christoph Hellwig Tested-by: Wen Xiong Reviewed-by: Hannes Reinecke --- Reading git-diff-tree failed