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/
This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:01:01 EST