Skip to content

Commit

Permalink
[SCSI] ipr: Include all disks in supported list
Browse files Browse the repository at this point in the history
Fix ipr to include all disks in the supported device list,
not just disks formatted to advanced function format.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
brking@us.ibm.com authored and James Bottomley committed Nov 6, 2005
1 parent cf85203 commit d0ad6f5
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 @@ -4111,7 +4111,7 @@ static int ipr_set_supported_devs(struct ipr_cmnd *ipr_cmd)
ipr_cmd->job_step = ipr_ioa_reset_done;

list_for_each_entry_continue(res, &ioa_cfg->used_res_q, queue) {
if (!ipr_is_af_dasd_device(res))
if (!IPR_IS_DASD_DEVICE(res->cfgte.std_inq_data))
continue;

ipr_cmd->u.res = res;
Expand Down

0 comments on commit d0ad6f5

Please sign in to comment.