aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-07-26 19:16:40 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-07-27 07:44:22 -0400
commitdb21b6f41bf5a9ce335ced4b5feaa0ad04327003 (patch)
treed3c52361f147aceeaa6b4371f84bb7193f2c4140 /drivers/scsi/megaraid
parentb252f4c7c39cc43c1a34c68951f98d7391a1a103 (diff)
[SCSI] megaraid_sas: Fix FastPath I/O to work on degraded raid 1
Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_fp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fp.c b/drivers/scsi/megaraid/megaraid_sas_fp.c
index 8fe3a45794fc..5a5af1fe7581 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fp.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fp.c
@@ -288,7 +288,6 @@ u8 MR_GetPhyParams(u32 ld, u64 stripRow, u16 stripRef, u64 *pdBlock,
288 /* Get dev handle from Pd */ 288 /* Get dev handle from Pd */
289 *pDevHandle = MR_PdDevHandleGet(pd, map); 289 *pDevHandle = MR_PdDevHandleGet(pd, map);
290 } 290 }
291 retval = FALSE;
292 } 291 }
293 292
294 *pdBlock += stripRef + MR_LdSpanPtrGet(ld, span, map)->startBlk; 293 *pdBlock += stripRef + MR_LdSpanPtrGet(ld, span, map)->startBlk;