mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
[SCSI] megaraid_sas: Fix megasas_build_dcdb_fusion to not filter by TYPE_DISK
Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
66192dfe1e
commit
f512440589
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user