diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2006-05-30 00:37:25 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-05 19:11:43 -0400 |
commit | 040515f53c09047c76ad074dc6a280984dc84b04 (patch) | |
tree | cf7a3ed3a34b925be4a842e04bbfab34f4a8a17d | |
parent | 994442e807782d68bb1d3ae34044f95990411a22 (diff) |
[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>
-rw-r--r-- | drivers/scsi/libiscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index a223413e156..256b87a8597 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c @@ -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*)); \ |