Skip to contentSkip to conversation

scsi tgt: fix double lock in scsi_uspace_request_fn

PATCH New FUJITA Tomonori 1 participant 1 message Mar 10, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 scsi tgt: fix double lock in scsi_uspace_request_fn

---

 drivers/scsi/scsi_tgt_lib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

e5b0b9fed4c7707038aee8438be004da274c6d4e

drivers/scsi/scsi_tgt_lib.c +1 -1
index 8746236..5d76078 100644
@@ -136,7 +136,7 @@ requeue:
 	spin_lock_irq(q->queue_lock);
 	/* need to track cnts and plug */
 	blk_requeue_request(q, rq);
-	spin_lock_irq(q->queue_lock);
+	spin_unlock_irq(q->queue_lock);
 }
 
 /**
Signature · 1 line
1.1.5