From: Hannes Reinecke Date: Mon, 29 Mar 2010 07:29:24 +0000 (+0200) Subject: [SCSI] sd: quiet spurious error messages in READ_CAPACITY(16) X-Git-Tag: v2.6.35-rc1~470^2^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f87146bba523cad0196aa8e80ca9e8243d7a6c0c;p=pandora-kernel.git [SCSI] sd: quiet spurious error messages in READ_CAPACITY(16) sd always tries to submit a READ_CAPACITY(16) CDB, regardless whether the host actually supports it. queuecommand() will then return DID_ABORT, which is not qualified enough to detect the true cause here. So better check in sd_try_rc16 first if the cdblen is supported. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed