Re: [PATCH 1/1] SBC READ: return correct key/ascq when reading beyond end-of-lun

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

 



On Mon, 4 Apr 2011 17:48:20 +1000
ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> From 3dd66c502c341ced04609c8826df7dc4934bac06 Mon Sep 17 00:00:00 2001
> From: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> 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@xxxxxxxxx>
> ---
>  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@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