summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-07-27 03:16:40 +0400
committerJames Bottomley <JBottomley@Parallels.com>2011-07-27 15:44:22 +0400
commitdb21b6f41bf5a9ce335ced4b5feaa0ad04327003 (patch)
treed3c52361f147aceeaa6b4371f84bb7193f2c4140 /drivers/scsi
parentb252f4c7c39cc43c1a34c68951f98d7391a1a103 (diff)
downloadlinux-db21b6f41bf5a9ce335ced4b5feaa0ad04327003.tar.xz
[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')
-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,
/* Get dev handle from Pd */
*pDevHandle = MR_PdDevHandleGet(pd, map);
}
- retval = FALSE;
}
*pdBlock += stripRef + MR_LdSpanPtrGet(ld, span, map)->startBlk;