[stgt] [PATCH 1/1] SCSI READ10/12/16: Return correct sense when invalid RDPROTECT is used
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Sat Apr 16 14:16:04 CEST 2011
On Sat, 16 Apr 2011 10:04:31 +1000
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
> From 0c63772a0c10c812e17b1db80adcfb2d7c0b7dfb Mon Sep 17 00:00:00 2001
> From: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> 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 at gmail.com>
> ---
> 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 at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list