projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
994442e
)
[SCSI] iscsi: return task found during search
author
Mike Christie
<michaelc@cs.wisc.edu>
Tue, 30 May 2006 05:37:25 +0000
(
00:37
-0500)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Mon, 5 Jun 2006 23:11:43 +0000
(19:11 -0400)
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>
drivers/scsi/libiscsi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/libiscsi.c
b/drivers/scsi/libiscsi.c
index
a223413
..
256b87a
100644
(file)
--- 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*)); \