patch-2.4.20 linux-2.4.20/drivers/scsi/scsi_error.c

Next file: linux-2.4.20/drivers/scsi/scsi_lib.c
Previous file: linux-2.4.20/drivers/scsi/scsi_debug.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/scsi/scsi_error.c linux-2.4.20/drivers/scsi/scsi_error.c
@@ -1884,7 +1884,7 @@
 	/*
 	 * Wake up the thread that created us.
 	 */
-	SCSI_LOG_ERROR_RECOVERY(3, printk("Wake up parent %d\n", host->eh_notify->count.counter));
+	SCSI_LOG_ERROR_RECOVERY(3, printk("Wake up parent %d\n", sem_getcount(host->eh_notify)));
 
 	up(host->eh_notify);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)