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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 16 Apr 2011 10:04:31 +1000
ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> From 0c63772a0c10c812e17b1db80adcfb2d7c0b7dfb Mon Sep 17 00:00:00 2001
> From: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> Date: Sat, 16 Apr 2011 09:56:17 +1000
> Subject: [PATCH] Return correct sense for reads with invalid RDPROTECT field.
> 
> TGTD does not use formatting protection, i.e. it always uses
> 'type 0 protection'.
> 
> In 'type 0 protection' any READ10/12/16 command that specifies a non-zero
> RDPROTECT value should be aborted with ILLEGAL REQUEST/INVALID OPERATION CODE
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> ---
>  usr/sbc.c |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux