提交 f5124405 编写于 作者: A adam radford 提交者: James Bottomley

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

Signed-off-by: NAdam Radford <aradford@gmail.com>
Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
上级 66192dfe
...@@ -1438,8 +1438,7 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance, ...@@ -1438,8 +1438,7 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
local_map_ptr = fusion->ld_map[(instance->map_id & 1)]; local_map_ptr = fusion->ld_map[(instance->map_id & 1)];
/* Check if this is a system PD I/O */ /* Check if this is a system PD I/O */
if ((instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) && if (instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) {
(instance->pd_list[pd_index].driveType == TYPE_DISK)) {
io_request->Function = 0; io_request->Function = 0;
io_request->DevHandle = io_request->DevHandle =
local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl; local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册