From 68662e9fbd15b23e140b1b34c8d0cd2883a6d508 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 9 Jul 2012 00:21:40 +0000 Subject: [PATCH] Fix data direction of RECEIVE COPY RESULT command git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4398 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 4dbf7f19f..646ceb85b 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -931,7 +931,7 @@ static const struct scst_sdbops scst_scsi_op_table[] = { .get_cdb_info = get_cdb_info_len_4}, {.ops = 0x84, .devkey = "OOOOOOOOOOOOOOOO", .info_op_name = "RECEIVE COPY RESULT", - .info_data_direction = SCST_DATA_WRITE, + .info_data_direction = SCST_DATA_READ, .info_op_flags = SCST_WRITE_EXCL_ALLOWED|SCST_EXCL_ACCESS_ALLOWED, .info_len_off = 10, .info_len_len = 4, .get_cdb_info = get_cdb_info_len_4},