aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2006-05-30 01:37:25 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-05 19:11:43 -0400
commit040515f53c09047c76ad074dc6a280984dc84b04 (patch)
treecf7a3ed3a34b925be4a842e04bbfab34f4a8a17d
parent994442e807782d68bb1d3ae34044f95990411a22 (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.c2
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) \
985 \ 985 \
986 if (task->itt == itt) { \ 986 if (task->itt == itt) { \
987 debug_scsi("matched task\n"); \ 987 debug_scsi("matched task\n"); \
988 break; \ 988 return task; \
989 } \ 989 } \
990 \ 990 \
991 __kfifo_put(fifo, (void*)&task, sizeof(void*)); \ 991 __kfifo_put(fifo, (void*)&task, sizeof(void*)); \