Re: 2.5.70-mm1 bootcrash, possibly RAID-1

Neil Brown
2003-05-29T01:08:20Z

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) {