dont pick task up from the argument, since this callback can be invoked from places where we dont have/know the task strucutre and it is thus NULL. Instead pick it up from scsi_cbstruct. This prevents a SEGV when processing REJECT to SCSI commands. (the scsi command callback dereferences the task pointer)
18 KiB
18 KiB