From: adam radford Date: Tue, 26 Jul 2011 23:16:40 +0000 (-0700) Subject: [SCSI] megaraid_sas: Fix FastPath I/O to work on degraded raid 1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db21b6f41bf5a9ce335ced4b5feaa0ad04327003;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [SCSI] megaraid_sas: Fix FastPath I/O to work on degraded raid 1 Signed-off-by: Adam Radford Signed-off-by: James Bottomley --- 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;