Oops in md.c

Pavel Machek (pavel@bug.ucw.cz)
Fri, 4 Dec 1998 20:07:58 +0100


Hi!

In my prev. mail I reported oops, ignore that report, here is
neccessary lines to work it around. (I still do not know how I caused
it nor what is right fix, still please take a look).

Pavel

--- clean//drivers/block/md.c Sat Nov 14 23:15:19 1998
+++ linux/drivers/block/md.c Fri Dec 4 19:49:24 1998
@@ -315,6 +315,10 @@
}
if (out_of_date)
printk(OUT_OF_DATE);
+ if (!freshest) {
+ printk(KERN_ERR "internal error: No superblock is the freshest?!\n");
+ goto abort;
+ }
memcpy (sb, freshest, sizeof(*freshest));

/*

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/