patch-2.3.34 linux/drivers/scsi/sd.c
Next file: linux/drivers/scsi/sg.c
Previous file: linux/drivers/scsi/scsi_queue.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Dec 18 15:36:40 1999
- Orig file:
v2.3.33/linux/drivers/scsi/sd.c
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.33/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -705,7 +705,7 @@
* just after a scsi bus reset.
*/
- SCpnt = scsi_allocate_device(rscsi_disks[i].device, 1);
+ SCpnt = scsi_allocate_device(rscsi_disks[i].device, 1, FALSE);
buffer = (unsigned char *) scsi_malloc(512);
@@ -950,7 +950,6 @@
SCpnt->device->remap = 1;
SCpnt->device->sector_size = sector_size;
/* Wake up a process waiting for device */
- wake_up(&SCpnt->device->device_wait);
scsi_release_command(SCpnt);
SCpnt = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)