lkml.org 
[lkml]   [2005]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Resend: PATCH: Stop 2.6.12rc rmmod from being able to destroy CD hardware


On Fri, 27 May 2005, Alan Cox wrote:
>
> The simple fix is attached, making the driver start from ~0 and mask
> bits the other direction would longer term be safer.

As per Bartlomiej, I've not applied this, since the "don't do it unless
you've written to it" fix from Jens went in. I assume CD-RW's know how to
cache flush..

That said, it does sound like the capabilities bitmap should be changed
around to be the other way (either by starting at ~0, or, if the changes
aren't too invasive, just change the semantics of it to be the sane way
around ("drive can do this" rather than "drive can _not_ do this").

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.037 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site