[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-raid
Subject:    Re: Oops with 2.5.27 (swapper)
From:       Neil Brown <neilb () cse ! unsw ! edu ! au>
Date:       2002-07-22 3:47:50
[Download RAW message or body]

On  July 21, twisti@complang.tuwien.ac.at wrote:
> Yesterday i've tried 2.5.27 and got this oops during boot (oops written
> down by hand):


This should fix it.

Thanks,
NeilBrown

--- drivers/md/md.c	2002/07/18 12:08:58	1.19
+++ drivers/md/md.c	2002/07/22 03:46:53
@@ -847,7 +847,7 @@ static void sync_sbs(mddev_t * mddev)
 		MD_BUG();
 		return;
 	}
-	rdev = list_entry(&mddev->disks.next, mdk_rdev_t, same_set);
+	rdev = list_entry(mddev->disks.next, mdk_rdev_t, same_set);
 	sb = rdev->sb;
 
 	memset(sb, 0, sizeof(*sb));
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic