commit | 56e34ee2adb59a35bfa5714bdf4dcb3f4d14a41d | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@purestorage.com> | Mon Jun 13 20:55:06 2011 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Jul 22 09:37:45 2011 +0000 |
tree | 80ab54908f9cd603ef26cdcc634e70ddd34c6640 | |
parent | 78faae37897dc2a9ccc7c19155294a4bfdcae077 [diff] |
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 <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>