commit | 5e1be919820175a2becc3c72051050aaa3fae954 | [log] [tgz] |
---|---|---|
author | Roland Dreier <roland@purestorage.com> | Wed Jul 20 09:28:56 2011 +0000 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Jul 22 09:37:45 2011 +0000 |
tree | 50b987bb753e481fd0d921e5723deacd17f5a97f | |
parent | 56e34ee2adb59a35bfa5714bdf4dcb3f4d14a41d [diff] |
target: Make se_tmr_lock IRQ-safe transport_lookup_tmr_lun() can be called from interrupt context and therefore needs to use IRQ-safe spinlock functions. Fix this up, and to make the locking work, convert the other uses of se_tmr_lock to be IRQ-disabling. Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>