mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-19 07:27:50 +00:00
[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: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
ee0a90fa3e
commit
eeb88307aa
@ -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;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user