mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
[SCSI] iscsi: return task found during search
from davidw@netapp.com: remove task type should return a task on success. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
994442e807
commit
040515f53c
@ -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*)); \
|
||||
|
Loading…
Reference in New Issue
Block a user