lkml.org 
[lkml]   [2008]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Re: Linux 2.6.26-rc2] Write protect on on


On Mon, 19 May 2008, Boaz Harrosh wrote:
>
> Sure, inspecting other places that emulate MODE_SENSE, (And inspecting the scsi
> spec) all zeros is a very good scsi response. Alan do you want to send a fix for all
> places that initiate a MODE_SENSE command, specifically at
> scsi_scan.c::scsi_unlock_floptical() ? (Some other places do)

I was actualyl more thinking that the safest thing to do would be to just
pre-clear the sense buffer. Then, if some driver doesn't fill it
correctly, big deal..

It's not like pre-clearing the bugger is a performance issue.

Linus


\
 
 \ /
  Last update: 2008-05-19 19:35    [W:0.073 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site