All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luc Van Oostenryck <luc.vanoostenryck@easynet.be>
To: Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Oops in 2.5.44's fs/block_dev.c:do_open() when trying to mount a badly formated floppy
Date: Wed, 23 Oct 2002 00:41:25 +0200	[thread overview]
Message-ID: <3DB5D415.4010604@easynet.be> (raw)

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


                 reply	other threads:[~2002-10-22 22:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DB5D415.4010604@easynet.be \
    --to=luc.vanoostenryck@easynet.be \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.