iscsi update: return task found during search
PATCH 3/5 iscsi update: return task found during search
from [email protected]:
remove task type should return a task on success.
Signed-off-by Mike Christie <[email protected]>
drivers/scsi/libiscsi.c +1 -1
@@ -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 *)); \