RE: [BUG] initrd broken in 2.3.51->99pre3

From: Mike Galbraith (mikeg@weiden.de)
Date: Fri Apr 07 2000 - 01:08:16 EST


> --- linux-2.3.99pre4-4/drivers/block/rd.c.org Sat Mar 25 10:24:45 2000
> +++ linux-2.3.99pre4-4/drivers/block/rd.c Thu Apr 6 15:21:44 2000
> @@ -326,7 +326,7 @@
> }
> #endif
>
> - if (DEVICE_NR(inode->i_rdev) >= NUM_RAMDISKS)
> + if (DEVICE_NR(inode->i_rdev) >= NUM_RAMDISKS || !inode->i_bdev)
> return -ENXIO;
>
> /*
>

Disregard this hunk.. it's b0rken. I must have booted the wrong kernel
when testing :-/

        -Mike

-
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/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:17 EST