From f9126313e8d2134bb9c8886222f495153f841687 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Sun, 15 Jan 2012 00:09:03 +0000 Subject: [PATCH] Better don't decode vendor opcode 0x24 for block devices, because the current decoding is incorrect anyway. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4072 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 993092082..3dbe6e78c 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -309,7 +309,7 @@ static const struct scst_sdbops scst_scsi_op_table[] = { /* 10-bytes length CDB */ {0x23, "V VV V ", "READ FORMAT CAPACITY", SCST_DATA_READ, FLAG_NONE, 7, get_trans_len_2}, - {0x24, "V VVM ", "SET WINDOW", + {0x24, " VVM ", "SET WINDOW", SCST_DATA_WRITE, FLAG_NONE, 6, get_trans_len_3}, {0x25, "M MM M ", "READ CAPACITY", SCST_DATA_READ, SCST_IMPLICIT_HQ|