BKL removal for EH thread startup
PATCH 1/1 BKL removal for EH thread startup
We don't need the BKL anymore for thread startup.
===== drivers/scsi/scsi_error.c 1.79 vs edited =====
drivers/scsi/scsi_error.c +0 -5
@@ -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.