All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] BKL removal for EH thread startup
@ 2004-08-25 16:39 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-08-25 16:39 UTC (permalink / raw)
  To: jejb; +Cc: linux-scsi

We don't need the BKL anymore for thread startup.


===== drivers/scsi/scsi_error.c 1.79 vs edited =====
--- 1.79/drivers/scsi/scsi_error.c	2004-06-19 16:47:16 +02:00
+++ edited/drivers/scsi/scsi_error.c	2004-08-25 18:18:31 +02:00
@@ -22,7 +22,6 @@
 #include <linux/kernel.h>
 #include <linux/interrupt.h>
 #include <linux/blkdev.h>
-#include <linux/smp_lock.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_dbg.h>
@@ -1639,8 +1638,6 @@
 	int rtn;
 	DECLARE_MUTEX_LOCKED(sem);
 
-	lock_kernel();
-
 	/*
 	 *    Flush resources
 	 */
@@ -1651,8 +1648,6 @@
 
 	shost->eh_wait = &sem;
 	shost->ehandler = current;
-
-	unlock_kernel();
 
 	/*
 	 * Wake up the thread that created us.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-25 16:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25 16:39 [PATCH] BKL removal for EH thread startup Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.