All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: John McKell <mckellj@iomega.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] fix blockdev --getro for sr, sd, ide-floppy devs
Date: Thu, 22 Jan 2004 09:27:33 +0100	[thread overview]
Message-ID: <20040122082733.GD2466@suse.de> (raw)
In-Reply-To: <1074548160.3088.11.camel@lintest.iomegacorp.com>

On Mon, Jan 19 2004, John McKell wrote:
> This 2.6.1 patch works by setting gendisk->policy to the correct value
> during initialization as the various drivers decide whether or not the
> disk is writeable.  This patch persuades "blockdev --getro ..." to
> correctly report the read-only state of a newly inserted disk.  This
> patch applies to sr.c, sd.c and ide-floppy.c.  ide-cd.c already has
> this functionality built into it.

Patch looks good, thanks.


-- 
Jens Axboe


  reply	other threads:[~2004-01-22  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-19 21:36 [PATCH] fix blockdev --getro for sr, sd, ide-floppy devs John McKell
2004-01-22  8:27 ` Jens Axboe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-20 22:15 John McKell

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=20040122082733.GD2466@suse.de \
    --to=axboe@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mckellj@iomega.com \
    /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.