From: Dan Carpenter Date: Fri, 15 Oct 2010 18:27:38 +0000 (-0700) Subject: [SCSI] qla2xxx: locking problem in qla2x00_init_rings() X-Git-Tag: v2.6.37-rc1~6^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=542bce1f255673816e82eaebb422ead5ad3f5a17;p=pandora-kernel.git [SCSI] qla2xxx: locking problem in qla2x00_init_rings() IRQs are already disabled here so we don't need to disable them again. But more importantly, the spin_lock_irqsave() overwrites "flags" and that breaks things when we want to re-enable the IRQs when we call spin_unlock_irqrestore(&ha->hardware_lock, flags); Signed-off-by: Dan Carpenter Signed-off-by: Madhuranath Iyengar Signed-off-by: James Bottomley --- Reading git-diff-tree failed