summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-07-27 01:16:40 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-07-27 13:44:22 +0200
commitdb21b6f41bf5a9ce335ced4b5feaa0ad04327003 (patch)
treed3c52361f147aceeaa6b4371f84bb7193f2c4140
parent[SCSI] bnx2fc: Enable REC & CONF support for the session (diff)
downloadlinux-db21b6f41bf5a9ce335ced4b5feaa0ad04327003.tar.xz
linux-db21b6f41bf5a9ce335ced4b5feaa0ad04327003.zip
[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>
-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;