* Oops in 2.5.44's fs/block_dev.c:do_open() when trying to mount a badly formated floppy
@ 2002-10-22 22:41 Luc Van Oostenryck
0 siblings, 0 replies; only message in thread
From: Luc Van Oostenryck @ 2002-10-22 22:41 UTC (permalink / raw)
To: Kernel mailing list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-22 22:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 22:41 Oops in 2.5.44's fs/block_dev.c:do_open() when trying to mount a badly formated floppy Luc Van Oostenryck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.