* [PATCH 3/5] iscsi update: return task found during search
@ 2006-05-30 5:37 Mike Christie
0 siblings, 0 replies; only message in thread
From: Mike Christie @ 2006-05-30 5:37 UTC (permalink / raw)
To: linux-scsi
from davidw@netapp.com:
remove task type should return a task on success.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c
index a223413..256b87a 100644
--- a/drivers/scsi/libiscsi.c
+++ b/drivers/scsi/libiscsi.c
@@ -985,7 +985,7 @@ iscsi_remove_##tasktype(struct kfifo *fi
\
if (task->itt == itt) { \
debug_scsi("matched task\n"); \
- break; \
+ return task; \
} \
\
__kfifo_put(fifo, (void*)&task, sizeof(void*)); \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-30 5:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-30 5:37 [PATCH 3/5] iscsi update: return task found during search Mike Christie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).