From a17349c566b42cb2bc22c813ca551e09e5fd6944 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 6 Jul 2012 02:44:53 +0000 Subject: [PATCH] scst: Parse REQUEST VOLUME ELEMENT ADDRESS correctly Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4393 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 18e85319f..262e335ab 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -1187,8 +1187,8 @@ static const struct scst_sdbops scst_scsi_op_table[] = { .info_op_name = "REQUEST VOLUME ELEMENT ADDRESS", .info_data_direction = SCST_DATA_READ, .info_op_flags = FLAG_NONE, - .info_len_off = 9, .info_len_len = 1, - .get_cdb_info = get_cdb_info_len_1}, + .info_len_off = 7, .info_len_len = 3, + .get_cdb_info = get_cdb_info_len_3}, {.ops = 0xB6, .devkey = " O ", .info_op_name = "SEND VOLUME TAG", .info_data_direction = SCST_DATA_WRITE,