From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: mingz@ele.uri.edu
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
Damian Pietras <daper@daper.net>
Subject: Re: read only scsi disk
Date: Thu, 09 Feb 2006 21:57:54 +0100 [thread overview]
Message-ID: <43EBACD2.50005@s5r6.in-berlin.de> (raw)
In-Reply-To: <1139514073.9367.105.camel@localhost.localdomain>
Ming Zhang wrote:
> thx, i found this was changed in at least 2.6.16-rc2.
> On Thu, 2006-02-09 at 20:36 +0100, Stefan Richter wrote:
>>Ming Zhang wrote:
>>>from sd.c, it looks like removable is judged first.
>>>
>>> if (sdp->removable)
>>> sd_read_write_protect_flag(sdkp, disk->disk_name,
>>> buffer);
>>
>>This has been changed in the meantime. Check the current sources.
PS: It was discussed and changed in December.
http://marc.theaimsgroup.com/?t=113406630600001
http://marc.theaimsgroup.com/?l=linux-scsi&m=113414617020021
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=38d76df2f5483478dee803cb6e39da5e506a6643
(Note: Commit date refers to James' tree. It went into Linus' tree later
after release of 2.6.15 but before 2.6.16-rc1.)
--
Stefan Richter
-=====-=-==- --=- -=--=
http://arcgraph.de/sr/
next prev parent reply other threads:[~2006-02-09 20:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-09 17:04 read only scsi disk Ming Zhang
2006-02-09 19:02 ` Matthew Wilcox
2006-02-09 19:19 ` Ming Zhang
2006-02-09 19:54 ` Stefan Richter
2006-02-09 20:01 ` Ming Zhang
2006-02-10 10:35 ` Christoph Hellwig
2006-02-09 19:36 ` Stefan Richter
2006-02-09 19:41 ` Ming Zhang
2006-02-09 20:57 ` Stefan Richter [this message]
2006-02-09 21:11 ` Ming Zhang
-- strict thread matches above, loose matches on Subject: below --
2006-02-09 19:32 berthiaume_wayne
2006-02-09 19:38 ` Ming Zhang
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=43EBACD2.50005@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=daper@daper.net \
--cc=linux-scsi@vger.kernel.org \
--cc=mingz@ele.uri.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox