[stgt] [PATCH 1/1] SCSI READ10/12/16: Return correct sense when invalid RDPROTECT is used

ronnie sahlberg ronniesahlberg at gmail.com
Sat Apr 16 02:04:31 CEST 2011


Tomo, List

Please find attached a patch for read10/12/16 that makes it return
INVALID REQUEST/ILLEGAL OPERATION CODE
when a non-zero RDPROTECT value is specified.

RDPROTECT must be 0 when type 0 protection (==no protection) is used.


regards
ronnie sahlberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Return-correct-sense-for-reads-with-invalid-RDPROTEC.patch.gz
Type: application/x-gzip
Size: 705 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20110416/6311f047/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Return-correct-sense-for-reads-with-invalid-RDPROTEC.patch
Type: text/x-diff
Size: 1124 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20110416/6311f047/attachment-0001.patch>


More information about the stgt mailing list