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
This commit is contained in:
Vladislav Bolkhovitin
2011-08-19 23:55:31 +00:00
parent 1d2dedddcc
commit 77fa083dbb

View File

@@ -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;