From 77fa083dbb7dc039a1406fd2c7c4f1b9699723c1 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Fri, 19 Aug 2011 23:55:31 +0000 Subject: [PATCH] Fix for one more forgotten initialization in preparing internal commands spotted by kordex@gmail.com git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3824 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 4f3953354..6280eb324 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -3751,6 +3751,7 @@ static struct scst_cmd *scst_create_prepare_internal_cmd( res->dev = orig_cmd->dev; res->devt = orig_cmd->devt; res->tgt_dev = orig_cmd->tgt_dev; + res->cur_order_data = orig_cmd->tgt_dev->curr_order_data; res->lun = orig_cmd->lun; res->queue_type = SCST_CMD_QUEUE_HEAD_OF_QUEUE; res->data_direction = SCST_DATA_UNKNOWN;