All of lore.kernel.org
 help / color / mirror / Atom feed
* spin_lock in scsi_request_fn
@ 2012-10-28 16:17 Shlomo Pongratz
  0 siblings, 0 replies; only message in thread
From: Shlomo Pongratz @ 2012-10-28 16:17 UTC (permalink / raw)
  To: James.Bottomley, linux-scsi; +Cc: ogerlitz

Hi,

I've noticed a strange usage of spin lock in  scsi_request_fn located in 
drivers/scsi/scsi_lib.c
That is in line 1565 we have spin_lock(shost->host_lock);
but in line 1595 we have spin_unlock_irq(shost->host_lock);
Is this by design or it is a typo?

Best regards,
Shlomo Pongratz.

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

only message in thread, other threads:[~2012-10-28 16:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-28 16:17 spin_lock in scsi_request_fn Shlomo Pongratz

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.