aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-02-24 23:56:43 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-28 12:53:53 -0500
commitf512440589632c73e7c2f42d9d723994cd45958b (patch)
tree76d31b160d9bda9195468f1bdbe497fbba4f73ca
parent66192dfe1e74eae31a76cfc36092dabdba1324e6 (diff)
[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>
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_fusion.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index eb4f4de19338..4ac1f6837532 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -1438,8 +1438,7 @@ megasas_build_dcdb_fusion(struct megasas_instance *instance,
1438 local_map_ptr = fusion->ld_map[(instance->map_id & 1)]; 1438 local_map_ptr = fusion->ld_map[(instance->map_id & 1)];
1439 1439
1440 /* Check if this is a system PD I/O */ 1440 /* Check if this is a system PD I/O */
1441 if ((instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) && 1441 if (instance->pd_list[pd_index].driveState == MR_PD_STATE_SYSTEM) {
1442 (instance->pd_list[pd_index].driveType == TYPE_DISK)) {
1443 io_request->Function = 0; 1442 io_request->Function = 0;
1444 io_request->DevHandle = 1443 io_request->DevHandle =
1445 local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl; 1444 local_map_ptr->raidMap.devHndlInfo[device_id].curDevHdl;