Commit db21b6f4 authored by adam radford's avatar adam radford Committed by James Bottomley
Browse files

[SCSI] megaraid_sas: Fix FastPath I/O to work on degraded raid 1

parent b252f4c7
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -288,7 +288,6 @@ u8 MR_GetPhyParams(u32 ld, u64 stripRow, u16 stripRef, u64 *pdBlock,
				/* Get dev handle from Pd */
				/* Get dev handle from Pd */
				*pDevHandle = MR_PdDevHandleGet(pd, map);
				*pDevHandle = MR_PdDevHandleGet(pd, map);
		}
		}
		retval = FALSE;
	}
	}


	*pdBlock += stripRef + MR_LdSpanPtrGet(ld, span, map)->startBlk;
	*pdBlock += stripRef + MR_LdSpanPtrGet(ld, span, map)->startBlk;