]> Pileus Git - ~andy/linux/commit
[SCSI] qla2xxx: correct locking while call starget_for_each_device()
authorSeokmann Ju <seokmann.ju@qlogic.com>
Tue, 9 Jan 2007 19:37:52 +0000 (11:37 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 19:59:10 +0000 (13:59 -0600)
commitbefede3dabd204e9c546cbfbe391b29286c57da2
tree4ab7a6e5b16210fd930b722ab62d93c1cf868cc3
parent3424a65d717ca87ce11acfb03cfd2f713886bfb4
[SCSI] qla2xxx: correct locking while call starget_for_each_device()

Removed spin_unlock_irq()/spin_lock_irq() pairs surrounding
starget_for_each_device() calls.
As Matthew W. pointed out, starget_for_each_device() can be called under
a spinlock being held.
The change has been tested and verified on qla2xxx.ko module.
Thanks Matthew W. and Hisashi H. for help.

Signed-off-by: Andrew Vasquez <Andrew.vasquez@qlogic.com>
Signed-off-by: Seokmann Ju <Seokmann.ju@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla2xxx/qla_isr.c