diff options
author | Brian King <brking@us.ibm.com> | 2006-11-21 10:28:04 -0600 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-11-22 12:20:08 -0600 |
commit | 04d9768ff8847b0ae8c41ac3cfb3c5bb2e31699a (patch) | |
tree | a25cce9de6d4b7a297deb57e04698b76fe285bbd | |
parent | 73d98ff0fa8d9074792b7273f57d9f92810104c6 (diff) | |
download | op-kernel-dev-04d9768ff8847b0ae8c41ac3cfb3c5bb2e31699a.zip op-kernel-dev-04d9768ff8847b0ae8c41ac3cfb3c5bb2e31699a.tar.gz |
[SCSI] ipr: Stop issuing cancel all to disk arrays
The ipr disk array devices do not support a cancel all
requests primitive, so change the ipr driver to never
send it.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index c983f0f..244173a 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -3776,7 +3776,7 @@ static int ipr_cancel_op(struct scsi_cmnd * scsi_cmd) */ if (ioa_cfg->in_reset_reload || ioa_cfg->ioa_is_dead) return FAILED; - if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res))) + if (!res || !ipr_is_gscsi(res)) return FAILED; list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) { |