[stgt] [PATCH] added CDB_CONTROL macro to get control field from CDB

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Jun 17 01:04:12 CEST 2012


On Tue,  5 Jun 2012 07:32:43 -0400
john.chandy at uconn.edu wrote:

> From: John A. Chandy <john.chandy at uconn.edu>
> 
> Fixes a bug in tgt/usr/scsi.c where the code expects the SCSI CONTROL
> field in the last byte of the CDB.  This doesn't work for VARLEN CDBs
> like OSD where the CONTROL field is the second byte of the CDB.
> 
> Signed-off-by: John Chandy <john.chandy at uconn.edu>
> ---
>  usr/scsi.c |    4 +++-
>  1 files changed, 3 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