Oops in 2.5.44's fs/block_dev.c:do_open() when trying to mount a

Luc Van Oostenryck (luc.vanoostenryck@easynet.be)
Wed, 23 Oct 2002 00:41:25 +0200


Offending code is:
663 if (bdev->bd_invalidated)
664 rescan_partitions(disk, bdev);
665 } else {
666 down(&bdev->bd_contains->bd_sem);
667 bdev->bd_contains->bd_part_count++;
668 if (!bdev->bd_openers) {
669 struct hd_struct *p;
670 p = disk->part + part - 1;
^^^^^^^^^^

this is NULL when the floppy is badly formatted

The problem is not present in 2.5.43, but is also present in 2.5.44-ac1

Luc Van Oostenryck

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