Skip to content

Commit

Permalink
[SCSI] ipr: Stop issuing cancel all to disk arrays
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brian King authored and James Bottomley committed Nov 22, 2006
1 parent 73d98ff commit 04d9768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 04d9768

Please sign in to comment.