[stgt] [PATCH 1/1] SBC READ: return correct key/ascq when reading beyond end-of-lun
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Mon Apr 4 16:37:51 CEST 2011
On Mon, 4 Apr 2011 17:48:20 +1000
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
> From 3dd66c502c341ced04609c8826df7dc4934bac06 Mon Sep 17 00:00:00 2001
> From: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> Date: Mon, 4 Apr 2011 17:43:47 +1000
> Subject: [PATCH] SBC READ: When reading 1 or more blocks of data, verify that we are not
> reading past the end of the lun and if so return the correct sense
>
> key: illegal request
> ascq: lba out of range
>
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
> ---
> usr/sbc.c | 22 +++++++++++++++++++++-
> 1 files changed, 21 insertions(+), 1 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