提交 040515f5 编写于 作者: M Mike Christie 提交者: James Bottomley

[SCSI] iscsi: return task found during search

from davidw@netapp.com:

remove task type should return a task on success.
Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 994442e8
......@@ -985,7 +985,7 @@ iscsi_remove_##tasktype(struct kfifo *fifo, uint32_t itt) \
\
if (task->itt == itt) { \
debug_scsi("matched task\n"); \
break; \
return task; \
} \
\
__kfifo_put(fifo, (void*)&task, sizeof(void*)); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册