patch-2.1.81 linux/drivers/scsi/scsi.c

Next file: linux/drivers/scsi/t128.c
Previous file: linux/drivers/scsi/psi240i.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.80/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -200,16 +200,6 @@
 static void scsi_dump_status(int level);
 
 
-/*
- *  This is the number  of clock ticks we should wait before we time out
- *  and abort the command.  This is for  where the scsi.c module generates
- *  the command, not where it originates from a higher level, in which
- *  case the timeout is specified there.
- *
- */
-
-
-
 struct dev_info{
     const char * vendor;
     const char * model;
@@ -3208,7 +3198,7 @@
         printk(" %d %d %d : %d %p\n",
                shpnt->host_failed,
                shpnt->host_busy,
-               shpnt->host_active,
+               atomic_read(&shpnt->host_active),
                shpnt->host_blocked,
                shpnt->pending_commands);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov