Page MenuHomeFreeBSD

D44282.id135554.diff
No OneTemporary

D44282.id135554.diff

Index: sys/dev/mrsas/mrsas_fp.c
===================================================================
--- sys/dev/mrsas/mrsas_fp.c
+++ sys/dev/mrsas/mrsas_fp.c
@@ -974,7 +974,8 @@
raid->regTypeReqOnRead != REGION_TYPE_UNUSED)))
pRAID_Context->regLockFlags = REGION_TYPE_EXCLUSIVE;
else if (raid->level == 1) {
- pd = MR_ArPdGet(arRef, physArm + 1, map);
+ physArm = physArm + 1;
+ pd = MR_ArPdGet(arRef, physArm, map);
if (pd != MR_PD_INVALID) {
*pDevHandle = MR_PdDevHandleGet(pd, map);
*pPdInterface = MR_PdInterfaceTypeGet(pd, map);
@@ -1719,7 +1720,8 @@
pRAID_Context->regLockFlags = REGION_TYPE_EXCLUSIVE;
else if (raid->level == 1) {
/* Get Alternate Pd. */
- pd = MR_ArPdGet(arRef, physArm + 1, map);
+ physArm = physArm + 1;
+ pd = MR_ArPdGet(arRef, physArm, map);
if (pd != MR_PD_INVALID) {
/* Get dev handle from Pd. */
*pDevHandle = MR_PdDevHandleGet(pd, map);

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 1:14 PM (21 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14717121
Default Alt Text
D44282.id135554.diff (932 B)

Event Timeline