patch-2.1.89 linux/drivers/scsi/sg.c
Next file: linux/drivers/scsi/sr.c
Previous file: linux/drivers/scsi/scsiiom.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Feb 26 19:55:28 1998
- Orig file:
v2.1.88/linux/drivers/scsi/sg.c
- Orig date:
Sun Dec 21 17:04:49 1997
diff -u --recursive --new-file v2.1.88/linux/drivers/scsi/sg.c linux/drivers/scsi/sg.c
@@ -547,8 +547,8 @@
struct scsi_generic *device = &scsi_generics[dev];
unsigned int mask = 0;
- poll_wait(&scsi_generics[dev].read_wait, wait);
- poll_wait(&scsi_generics[dev].write_wait, wait);
+ poll_wait(file, &scsi_generics[dev].read_wait, wait);
+ poll_wait(file, &scsi_generics[dev].write_wait, wait);
if(device->pending && device->complete)
mask |= POLLIN | POLLRDNORM;
if(!device->pending)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov