patch-2.3.35 linux/drivers/scsi/scsi.c
Next file: linux/drivers/scsi/scsi_error.c
Previous file: linux/drivers/scsi/qlogicpti_asm.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Sun Dec 26 10:52:04 1999
- Orig file:
v2.3.34/linux/drivers/scsi/scsi.c
- Orig date:
Mon Dec 20 18:48:22 1999
diff -u --recursive --new-file v2.3.34/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -1470,9 +1470,6 @@
*/
- host->host_busy++;
- device->device_busy++;
-
/*
* Our own function scsi_done (which marks the host as not busy, disables
* the timeout counter, etc) will be called by us or by the
@@ -1575,6 +1572,9 @@
* Since serial_number is now 0, the error handler cound detect this
* situation and avoid to call the the low level driver abort routine.
* (DB)
+ *
+ * FIXME(eric) - I believe that this test is now redundant, due to
+ * the test of the return status of del_timer().
*/
if (SCpnt->state == SCSI_STATE_TIMEOUT) {
SCSI_LOG_MLCOMPLETE(1, printk("Ignoring completion of %p due to timeout status", SCpnt));
@@ -2020,7 +2020,7 @@
spin_unlock_irqrestore(&device_request_lock, flags);
}
-static ssize_t proc_scsi_gen_write(struct file * file, const char * buf,
+static int proc_scsi_gen_write(struct file * file, const char * buf,
unsigned long length, void *data);
#ifndef MODULE /* { */
@@ -2215,7 +2215,7 @@
return (len);
}
-static ssize_t proc_scsi_gen_write(struct file * file, const char * buf,
+static int proc_scsi_gen_write(struct file * file, const char * buf,
unsigned long length, void *data)
{
Scsi_Cmnd *SCpnt;
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])