提交 eeb88307 编写于 作者: B brking@us.ibm.com 提交者: James Bottomley

[SCSI] ipr: Support device reset to RAID disks

Support now exists in some ipr adapters to issue a device reset
to an Advanced Function disk.
Signed-off-by: NBrian King <brking@us.ibm.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 ee0a90fa
......@@ -3324,7 +3324,7 @@ static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd)
ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata;
res = scsi_cmd->device->hostdata;
if (!res || (!ipr_is_gscsi(res) && !ipr_is_vset_device(res)))
if (!res)
return FAILED;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册