]> err.no Git - linux-2.6/commit
[SCSI] sd: Always do write-protect check
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 9 Dec 2005 16:34:45 +0000 (11:34 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Wed, 14 Dec 2005 01:49:18 +0000 (18:49 -0700)
commit38d76df2f5483478dee803cb6e39da5e506a6643
treedb3a82c6de5cd5328d62df9803e40476bff71fda
parent4e06cbd42c41f9e49fcfe5ee45c749eefaae9cf4
[SCSI] sd: Always do write-protect check

Since nobody has offered an explanation for why the sd driver makes a
write-protect check only for devices with removable media, I'm submitting
this patch to get rid of the removable-media test.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sd.c