diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2006-05-30 09:37:25 +0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-06 03:11:43 +0400 |
commit | 040515f53c09047c76ad074dc6a280984dc84b04 (patch) | |
tree | cf7a3ed3a34b925be4a842e04bbfab34f4a8a17d /drivers | |
parent | 994442e807782d68bb1d3ae34044f95990411a22 (diff) | |
download | linux-040515f53c09047c76ad074dc6a280984dc84b04.tar.xz |
[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>
Diffstat (limited to 'drivers')
-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 a223413e1564..256b87a85978 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*)); \ |