Re: 2.5.70-mm1 bootcrash, possibly RAID-1

Neil Brown (neilb@cse.unsw.edu.au)
Thu, 29 May 2003 11:08:20 +1000


Greetings all.

I think this might fix the bug, but I haven't looked very closely
yet. I will expore it more deeply when I get time.

NeilBrown

----------- Diffstat output ------------
./drivers/md/raid1.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff ./drivers/md/raid1.c~current~ ./drivers/md/raid1.c
--- ./drivers/md/raid1.c~current~ 2003-05-29 11:05:03.000000000 +1000
+++ ./drivers/md/raid1.c 2003-05-29 11:05:08.000000000 +1000
@@ -137,7 +137,7 @@ static void put_all_bios(conf_t *conf, r
BUG();
bio_put(r1_bio->read_bio);
r1_bio->read_bio = NULL;
- }
+ } else
for (i = 0; i < conf->raid_disks; i++) {
struct bio **bio = r1_bio->write_bios + i;
if (*bio) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/