]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] megaraid_sas: Fix megasas_build_dcdb_fusion to not filter by TYPE_DISK
authoradam radford <aradford@gmail.com>
Fri, 25 Feb 2011 04:56:43 +0000 (20:56 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 28 Feb 2011 17:53:53 +0000 (11:53 -0600)
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas_fusion.c

index eb4f4de19338d98a8e61b418764f6da8a7e8ba19..4ac1f68375329c24218d07ec6e55e441453c7f97 100644 (file)
@@ -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;