[SCSI] dpt_i2o: return SCSI_MLQUEUE_HOST_BUSY when in reset
authorHannes Reinecke <hare@suse.de>
Wed, 23 Oct 2013 08:51:16 +0000 (10:51 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 10:40:42 +0000 (11:40 +0100)
commit63d80c49baa956d871136d8d4afb7900eb4a6cc9
tree957e7cdf5df78b74a02997c13032eb7ea047f47d
parent1f8c88c3b52ffd424ca76f80d1ed78639c532aef
[SCSI] dpt_i2o: return SCSI_MLQUEUE_HOST_BUSY when in reset

When the HBA is in reset we should be returning 'busy' and not
rely on the obscure 'last_reset' feature.

[jejb: checkpatch fixes]
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/dpt_i2o.c