kill locking around scsi_done()
PATCH 1/1 kill locking around scsi_done()
Hi,
Lets show the mid layer as a good example and remove the host lock around the scsi_done() call.
Signed-off-by Jens Axboe <[email protected]>
===== drivers/scsi/scsi.c 1.148 vs edited =====
drivers/scsi/scsi.c +0 -2
@@ -606,9 +606,7 @@ printk("queuecommand : command too long.\n")); cmd->result = (DID_ABORT <<16 ); -spin_lock_irqsave (host->host_lock, flags);scsi_done (cmd); -spin_unlock_irqrestore (host->host_lock, flags); goto out; }
Signature · 1 line
Jens Axboe