Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04d9768f authored by Brian King's avatar Brian King Committed by James Bottomley
Browse files

[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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 73d98ff0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {