commit | f87146bba523cad0196aa8e80ca9e8243d7a6c0c | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Mon Mar 29 09:29:24 2010 +0200 |
committer | James Bottomley <James.Bottomley@suse.de> | Sun Apr 11 13:25:06 2010 -0500 |
tree | 87cc2f1a1dd4cc1771baab020d68bcb0a32de688 | |
parent | 457549da730ec43bdc594ec7b475464b9d52a15f [diff] |
[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 <hare@suse.de> Signed-off-by: James Bottomley <James.Bottomley@suse.de>