Mike Christie 728996829b [SCSI] libiscsi: fix possbile null ptr session command cleanup
If the iscsi eh fires when the current task is a nop, then
the task->sc pointer is null. fail_all_commands could
then try to do task->sc->device and oops. We actually do
not need to access the curr task in this path, because
if it is a cmd task the fail_command call will handle
this and if it is mgmt task then the flush of the mgmt
queues will handle that.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-03-13 15:29:54 -05:00
..
2009-02-18 17:41:38 -08:00
2009-02-18 15:37:56 -08:00
2009-03-04 21:49:14 +10:00
2009-02-26 10:32:31 -08:00
2009-02-25 13:18:47 +11:00
2009-02-27 16:26:22 -08:00
2009-02-18 15:37:56 -08:00
2009-03-12 12:58:02 -05:00