From: Roland Dreier Date: Tue, 14 Jun 2011 03:55:06 +0000 (-0700) Subject: target: Make se_dev_check_online() locking IRQ-safe X-Git-Tag: v3.1-rc1~305^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56e34ee2adb59a35bfa5714bdf4dcb3f4d14a41d;p=pandora-kernel.git target: Make se_dev_check_online() locking IRQ-safe se_dev_check_online() is called from transport_lookup_cmd_lun(), which as discussed before may be called from interrupt context. So it needs to use spin_lock_irqsave() instead of spin_lock_irq() to avoid enabling interrupts at the wrong time. Signed-off-by: Roland Dreier Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed