change to drivers/scsi/scsi.c as of 1.3.9 causes panic

change to drivers/scsi/scsi.c as of 1.3.9 causes panic

Post by Matthew Jac » Mon, 24 Jul 1995 04:00:00



(working with 1.3.11....)

In 1.3.9, in scsi.c:allocate_device, the line:

*** 977,982 ****
--- 982,988 ----
              while(SCpnt){
                  if(SCpnt->target == device->id &&
                     SCpnt->lun == device->lun) {
+                     SCwait = SCpnt;
                      if(SCpnt->request.dev < 0) break;
                  }
                  SCpnt = SCpnt->next;

with SCwait disappeared. Does anyone know why?

I had to put it back for some changes I'm doing for myself
(right now (large data transfers via ioctl's that interleave
with regular disk accesses to the same device)- when I get
done, if it's useful I'll definitely post it), because I
otherwise get a "panic: cannot allocate device".

-matt jacob