Commit f5124405 authored by adam radford's avatar adam radford Committed by James Bottomley

[SCSI] megaraid_sas: Fix megasas_build_dcdb_fusion to not filter by TYPE_DISK

Signed-off-by: default avatarAdam Radford <aradford@gmail.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 66192dfe
......@@ -1438,8 +1438,7 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
local_map_ptr = fusion->ld_map[(instance->map_id & 1)];
/* Check if this is a system PD I/O */
if ((instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) &&
(instance->pd_list[pd_index].driveType == TYPE_DISK)) {
if (instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) {
io_request->Function = 0;
io_request->DevHandle =
local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment